示例#1
0
 public Task AddBanAsync(ulong userId, int pruneDays = 0, string reason = null, RequestOptions options = null)
 => GuildHelper.AddBanAsync(this, Discord, userId, pruneDays, reason, options);
示例#2
0
 public Task AddBanAsync(IUser user, int pruneDays = 0, RequestOptions options = null)
 => GuildHelper.AddBanAsync(this, Discord, user.Id, pruneDays, options);