minor fixes
This commit is contained in:
parent
dfde9893e7
commit
373809384f
|
@ -9,6 +9,8 @@ namespace DeukBot4.MessageHandlers
|
||||||
{
|
{
|
||||||
public static async Task HandleMessage(SocketMessage message)
|
public static async Task HandleMessage(SocketMessage message)
|
||||||
{
|
{
|
||||||
|
if (message.Author.IsBot)
|
||||||
|
return;
|
||||||
if (message.Author.Id == Program.Client.CurrentUser.Id)
|
if (message.Author.Id == Program.Client.CurrentUser.Id)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue