Minor changes
This commit is contained in:
parent
2704cac98f
commit
b0d6bdcf8a
2
main.js
2
main.js
@ -148,7 +148,7 @@ async function checkRateLimits(hi) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
process.on('unhandledRejection', error => {
|
process.on('unhandledRejection', error => {
|
||||||
console.error('Unhandled promise rejection:', error);
|
console.error('Unhandled promise rejection (pls dont break up with me):', error);
|
||||||
});
|
});
|
||||||
|
|
||||||
client.login(token);
|
client.login(token);
|
@ -25,9 +25,6 @@ const fn = require('../modules/functions.js');
|
|||||||
|
|
||||||
client.once('ready', async () => {
|
client.once('ready', async () => {
|
||||||
// watchRequestRates();
|
// watchRequestRates();
|
||||||
console.log('Ready!');
|
|
||||||
const count = JSON.stringify(client.guilds.cache.size);
|
|
||||||
console.log("I'm currently in " + count + " servers.");
|
|
||||||
const guilds = client.guilds.cache;
|
const guilds = client.guilds.cache;
|
||||||
guilds.each(g => {
|
guilds.each(g => {
|
||||||
console.log(g.name + "," + g.ownerId);
|
console.log(g.name + "," + g.ownerId);
|
||||||
|
Loading…
Reference in New Issue
Block a user