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