Skip to content

Commit

Permalink
Added a new intent.
Browse files Browse the repository at this point in the history
  • Loading branch information
wtflmao committed Jan 24, 2023
1 parent be21fa4 commit dfbad3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const fs = require('node:fs');
const { Client, Collection, Events, GatewayIntentBits } = require('discord.js');
const { token } = require('./config.json');

const client = new Client({ intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages, GatewayIntentBits.MessageContent] });
const client = new Client({ intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages, GatewayIntentBits.MessageContent, GatewayIntentBits.GuildMessageReactions] });

const eventFiles = fs.readdirSync('./events').filter(file => file.endsWith('.js'));

Expand Down

0 comments on commit dfbad3c

Please sign in to comment.