Skip to content

Commit

Permalink
chore: update example in README.md (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
TTtie committed Oct 21, 2022
1 parent 5c7bde8 commit 826b671
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,11 @@ const Dysnomia = require("@projectdysnomia/dysnomia");

// Replace TOKEN with your bot account's token
const bot = new Dysnomia("Bot TOKEN", {
intents: [
"guildMessages"
]
gateway: {
intents: [
"guildMessages"
]
}
});

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

0 comments on commit 826b671

Please sign in to comment.