C# Class qtbot.BotTools.ChatEventActions

Afficher le fichier Open project: stepperman/HB-Discord-Bot

Méthodes publiques

Méthode 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 méthode

public static DisconnectedAsync ( Exception ex ) : System.Threading.Tasks.Task
ex System.Exception
Résultat System.Threading.Tasks.Task

MessageReceivedAsync() public static méthode

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
Résultat System.Threading.Tasks.Task

UserBannedAsync() public static méthode

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

UserJoinedAsync() public static méthode

public static UserJoinedAsync ( SocketGuildUser e ) : System.Threading.Tasks.Task
e SocketGuildUser
Résultat System.Threading.Tasks.Task

UserLeftAsync() public static méthode

public static UserLeftAsync ( SocketGuildUser e ) : System.Threading.Tasks.Task
e SocketGuildUser
Résultat System.Threading.Tasks.Task