minor fixes

This commit is contained in:
Deukhoofd 2018-08-13 19:37:17 +02:00
parent dfde9893e7
commit 373809384f
No known key found for this signature in database
GPG Key ID: B4C087AC81641654
1 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,8 @@ namespace DeukBot4.MessageHandlers
{
public static async Task HandleMessage(SocketMessage message)
{
if (message.Author.IsBot)
return;
if (message.Author.Id == Program.Client.CurrentUser.Id)
{
return;