Browse Source

Add intents for Discord.js v13

pull/9/head
Abheek Dhawan 4 years ago
parent
commit
f638e0df6d
  1. 1
      bot/awesomescibo.js

1
bot/awesomescibo.js

@ -3,6 +3,7 @@
const Discord = require("discord.js"); const Discord = require("discord.js");
const client = new Discord.Client({ const client = new Discord.Client({
partials: ["MESSAGE", "CHANNEL", "REACTION"], partials: ["MESSAGE", "CHANNEL", "REACTION"],
intents: ["GUILDS", "GUILD_MESSAGES"]
}); });
const fetch = require("node-fetch"); const fetch = require("node-fetch");
const axios = require("axios"); const axios = require("axios");

Loading…
Cancel
Save