eris complaining about intents???

This commit is contained in:
Cynthia Foxwell 2021-07-23 17:28:05 -06:00
parent 58b49fb9d8
commit 356d533a95

View file

@ -15,6 +15,7 @@ const timer = require("./lib/timer.js");
const bot = new Eris(config.token, {
defaultImageFormat: "png",
defaultImageSize: 1024,
intents: [],
});
const commands = new Eris.Collection();
@ -75,10 +76,10 @@ bot.on("ready", async () => {
});
bot.on("error", (err) => {
logger.error("hf:main", "Catching error: %s", err);
logger.error("hf:main", "Catching error:", err);
});
bot.on("warn", (err) => {
logger.warn("hf:main", "Catching warn: %s", err);
logger.warn("hf:main", "Catching warn:", err);
});
bot.on("shardDisconnect", (err, id) => {