C# Class qtbot.BotTools.ChatEventActions

显示文件 Open project: stepperman/HB-Discord-Bot

Public Methods

Method Description
DisconnectedAsync ( Exception ex ) : System.Threading.Tasks.Task
MessageReceivedAsync ( SocketMessage message ) : System.Threading.Tasks.Task

When a message has been received, call a couple functions which controls the ayy channel, the YouTube command which needs to be global. (So that I can easily add it wiht multiple commands) And it controls the regular users so that messages get added and blahblah.

UserBannedAsync ( SocketUser user, SocketGuild guild ) : System.Threading.Tasks.Task
UserJoinedAsync ( SocketGuildUser e ) : System.Threading.Tasks.Task
UserLeftAsync ( SocketGuildUser e ) : System.Threading.Tasks.Task

Method Details

DisconnectedAsync() public static method

public static DisconnectedAsync ( Exception ex ) : System.Threading.Tasks.Task
ex System.Exception
return System.Threading.Tasks.Task

MessageReceivedAsync() public static method

When a message has been received, call a couple functions which controls the ayy channel, the YouTube command which needs to be global. (So that I can easily add it wiht multiple commands) And it controls the regular users so that messages get added and blahblah.
public static MessageReceivedAsync ( SocketMessage message ) : System.Threading.Tasks.Task
message SocketMessage
return System.Threading.Tasks.Task

UserBannedAsync() public static method

public static UserBannedAsync ( SocketUser user, SocketGuild guild ) : System.Threading.Tasks.Task
user SocketUser
guild SocketGuild
return System.Threading.Tasks.Task

UserJoinedAsync() public static method

public static UserJoinedAsync ( SocketGuildUser e ) : System.Threading.Tasks.Task
e SocketGuildUser
return System.Threading.Tasks.Task

UserLeftAsync() public static method

public static UserLeftAsync ( SocketGuildUser e ) : System.Threading.Tasks.Task
e SocketGuildUser
return System.Threading.Tasks.Task