Add log message on bot exit command

This commit is contained in:
Deukhoofd 2019-08-17 15:37:22 +02:00
parent 597712b282
commit ff76878e31
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}