forked from TeamInklings/Octobot
Delete SelfBanCommand, failsafe involving bots issuing commands, optimized prefixes
This commit is contained in:
parent
c0ae850fb8
commit
9921fd564b
3 changed files with 20 additions and 37 deletions
|
@ -1,9 +0,0 @@
|
|||
namespace Boyfriend.Commands;
|
||||
|
||||
public sealed class SelfBanCommand : ICommand {
|
||||
public string[] Aliases { get; } = { "cavepleaselisten" };
|
||||
|
||||
public async Task RunAsync(CommandProcessor cmd, string[] args, string[] cleanArgs) {
|
||||
await BanCommand.BanUser(cmd, cmd.Context.User, TimeSpan.FromMilliseconds(-1), "");
|
||||
}
|
||||
}
|
Reference in a new issue