Skip to content

Commit

Permalink
Change applicationCommands example
Browse files Browse the repository at this point in the history
  • Loading branch information
JustCat80 committed Aug 12, 2021
1 parent b8ead26 commit e5b9012
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/applicationCommands.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ const Constants = Eris.Constants;

// Replace TOKEN with your bot account's token
const bot = new Eris("BOT_TOKEN", {
intents: [
"guilds"
]
intents: [] //No intents are needed for interactions, but you still need to specify either an empty array or 0
});

bot.on("ready", async () => { // When the bot is ready
Expand Down

0 comments on commit e5b9012

Please sign in to comment.