.sb now requires kick+manage messages instead of ban
This commit is contained in:
parent
8dfa7ee1c1
commit
bffb991264
@ -311,7 +311,8 @@ namespace NadekoBot.Modules.Administration
|
|||||||
|
|
||||||
[NadekoCommand, Usage, Description, Aliases]
|
[NadekoCommand, Usage, Description, Aliases]
|
||||||
[RequireContext(ContextType.Guild)]
|
[RequireContext(ContextType.Guild)]
|
||||||
[RequirePermission(GuildPermission.BanMembers)]
|
[RequirePermission(GuildPermission.KickMembers)]
|
||||||
|
[RequirePermission(GuildPermission.ManageMessages)]
|
||||||
public async Task Softban(IUserMessage umsg, IGuildUser user, [Remainder] string msg = null)
|
public async Task Softban(IUserMessage umsg, IGuildUser user, [Remainder] string msg = null)
|
||||||
{
|
{
|
||||||
var channel = (ITextChannel)umsg.Channel;
|
var channel = (ITextChannel)umsg.Channel;
|
||||||
|
Loading…
Reference in New Issue
Block a user