This commit is contained in:
Alex Brow 2020-03-22 23:59:24 -04:00
parent b6b59d26fa
commit c23da89e7d
No known key found for this signature in database
GPG Key ID: F48926893F475C25

View File

@ -1,5 +1,5 @@
const { ShardingManager } = require('discord.js');
const manager = new ShardingManager('./bot.js', { token: 'Njc4MDkzNjY4NzcwNTEyOTE3.XkdyyA.6n4wvPmzOw-fwuysEoTPU8Cv2x0' });
const manager = new ShardingManager('./src/bot.js', { token: 'Njc4MDkzNjY4NzcwNTEyOTE3.XkdyyA.6n4wvPmzOw-fwuysEoTPU8Cv2x0' });
manager.spawn();
manager.on('shardCreate', shard => console.log(`Launched shard ${shard.id}`));