示例#1
0
 public static async Task UpdateCooldown(this ISocketMessageChannel channel, string tag)
 => await CooldownService.UpdateCooldown("discord", Convert.ToInt64(channel.Id), tag, true);
示例#2
0
 public static async Task UpdateCooldown(this SocketUser user, string tag)
 => await CooldownService.UpdateCooldown("discord", Convert.ToInt64(user.Id), tag, false);