eris complaining about intents???
This commit is contained in:
		
							parent
							
								
									58b49fb9d8
								
							
						
					
					
						commit
						356d533a95
					
				
					 1 changed files with 3 additions and 2 deletions
				
			
		| 
						 | 
					@ -15,6 +15,7 @@ const timer = require("./lib/timer.js");
 | 
				
			||||||
const bot = new Eris(config.token, {
 | 
					const bot = new Eris(config.token, {
 | 
				
			||||||
  defaultImageFormat: "png",
 | 
					  defaultImageFormat: "png",
 | 
				
			||||||
  defaultImageSize: 1024,
 | 
					  defaultImageSize: 1024,
 | 
				
			||||||
 | 
					  intents: [],
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const commands = new Eris.Collection();
 | 
					const commands = new Eris.Collection();
 | 
				
			||||||
| 
						 | 
					@ -75,10 +76,10 @@ bot.on("ready", async () => {
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
bot.on("error", (err) => {
 | 
					bot.on("error", (err) => {
 | 
				
			||||||
  logger.error("hf:main", "Catching error: %s", err);
 | 
					  logger.error("hf:main", "Catching error:", err);
 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
bot.on("warn", (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) => {
 | 
					bot.on("shardDisconnect", (err, id) => {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue