This repository has been archived on 2024-06-23. You can view files and clone it, but cannot push or open issues or pull requests.
OctobotStealth/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), "");
}
}