Update Discord.js / Breaking Discord API changes
This commit is contained in:
		
							parent
							
								
									9580a500fd
								
							
						
					
					
						commit
						26b79327be
					
				| @ -19,11 +19,11 @@ | |||||||
| 	}, | 	}, | ||||||
| 	"embeds": { | 	"embeds": { | ||||||
| 		"footer": "Silvanus is not affiliated with Grow A Tree or Limbo Labs", | 		"footer": "Silvanus is not affiliated with Grow A Tree or Limbo Labs", | ||||||
| 		"color": "0x55FF55", | 		"color": 5635925, | ||||||
| 		"errorTitle": "Oops!", | 		"errorTitle": "Oops!", | ||||||
| 		"errorPrefix": "There seems to have been a problem.", | 		"errorPrefix": "There seems to have been a problem.", | ||||||
| 		"waterColor": "0x5555FF", | 		"waterColor": 5592575, | ||||||
| 		"fruitColor": "0xCC5555", | 		"fruitColor": 13391189, | ||||||
| 		"waterTitle": "Water Notification", | 		"waterTitle": "Water Notification", | ||||||
| 		"fruitTitle": "Fruit Notification", | 		"fruitTitle": "Fruit Notification", | ||||||
| 		"roleMenuTitle": "Role Menu", | 		"roleMenuTitle": "Role Menu", | ||||||
|  | |||||||
| @ -24,10 +24,15 @@ const client = new Client({ | |||||||
| const fn = require('../modules/functions.js'); | const fn = require('../modules/functions.js'); | ||||||
| 
 | 
 | ||||||
| client.once('ready', async () => { | client.once('ready', async () => { | ||||||
|     watchRequestRates(); |     // watchRequestRates();
 | ||||||
| 	console.log('Ready!'); | 	console.log('Ready!'); | ||||||
|     const count = JSON.stringify(client.guilds.cache.size); |     const count = JSON.stringify(client.guilds.cache.size); | ||||||
|     console.log(count); |     console.log("I'm currently in " + count + " servers."); | ||||||
|  |     const guilds = client.guilds.cache; | ||||||
|  |     guilds.each(g => { | ||||||
|  |         console.log(g.name); | ||||||
|  |     }); | ||||||
|  |     process.exit(); | ||||||
| }); | }); | ||||||
| 
 | 
 | ||||||
| client.login(token); | client.login(token); | ||||||
|  | |||||||
| @ -18,7 +18,7 @@ | |||||||
|   "homepage": "https://github.com/voidf1sh/silvanus#readme", |   "homepage": "https://github.com/voidf1sh/silvanus#readme", | ||||||
|   "dependencies": { |   "dependencies": { | ||||||
|     "axios": "^1.3.3", |     "axios": "^1.3.3", | ||||||
|     "discord.js": "^14.7.1", |     "discord.js": "^14.9.0", | ||||||
|     "dotenv": "^16.0.3", |     "dotenv": "^16.0.3", | ||||||
|     "mysql": "^2.18.1", |     "mysql": "^2.18.1", | ||||||
|     "string-replace-all": "^2.0.0", |     "string-replace-all": "^2.0.0", | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user