示例#1
0
 public static async Task UserUpdated(SocketGuildUser before, SocketGuildUser after)
 {
     Task.Run(() => UserEventHandler.UserUpdated(before, after));
 }
 public static async Task MessageRecieved(SocketMessage arg)
 {
     MessageRecieved(arg, edited: false);
     UserEventHandler.UserUpdated(null, arg.Author);
 }
示例#3
0
 public static async Task UserLeftGuild(SocketGuildUser user)
 {
     Task.Run(() => UserEventHandler.UserLeft(user));
 }