Skip to content

Commit

Permalink
Update bot.js
Browse files Browse the repository at this point in the history
  • Loading branch information
BoQsc committed Jul 4, 2023
1 parent 1139007 commit 34e3e2f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bot.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,12 @@ client.on("messageCreate", async (message) => {


}

// Support for @BotUsername
if (message.authorId !== client.user.id && message.content.includes(client.user.id)) {
await message.channel.sendMessage("Hey");

}

});

Expand Down

0 comments on commit 34e3e2f

Please sign in to comment.