mirror of
https://gitlab.com/Deukhoofd/DeukBot4.git
synced 2025-10-28 17:30:04 +00:00
minor fixes
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user