Give all the intents :)
This commit is contained in:
		
							parent
							
								
									24eea8ad72
								
							
						
					
					
						commit
						da556a158b
					
				
					 1 changed files with 1 additions and 3 deletions
				
			
		| 
						 | 
					@ -13,9 +13,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: Object.keys(Eris.Constants.Intents).filter(
 | 
					  intents: Object.keys(Eris.Constants.Intents),
 | 
				
			||||||
    (x) => x != "guildMembers" && x != "guildPresences"
 | 
					 | 
				
			||||||
  ),
 | 
					 | 
				
			||||||
});
 | 
					});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const commands = new Eris.Collection();
 | 
					const commands = new Eris.Collection();
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue