1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-01-31 17:19:00 +03:00
Octobot/Boyfriend/Commands/SelfBanCommand.cs

10 lines
336 B
C#
Raw Normal View History

namespace Boyfriend.Commands;
public sealed class SelfBanCommand : ICommand {
2022-10-18 20:55:16 +03:00
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), "");
}
}