mirror of
https://gitlab.com/Deukhoofd/DeukBot4.git
synced 2025-09-04 16:37:19 +00:00
Add log message on bot exit command
This commit is contained in:
parent
597712b282
commit
ff76878e31
@ -62,6 +62,7 @@ namespace DeukBot4.MessageHandlers.CommandHandler
|
||||
[Command("exit", PermissionLevel.BotCreator)]
|
||||
public async Task ExitBot(CommandRequest request)
|
||||
{
|
||||
Console.WriteLine($"Bot exit was requested by {request.OriginalMessage.Author.Username}.");
|
||||
Environment.Exit(0);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user