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…
Reference in New Issue