mirror of
https://github.com/Technicolor-creamsicle/Osselbot.git
synced 2024-12-22 15:36:24 -05:00
6 lines
271 B
JavaScript
6 lines
271 B
JavaScript
const { ShardingManager } = require('discord.js');
|
|
const manager = new ShardingManager('./bot.js', { token: 'Njc4MDkzNjY4NzcwNTEyOTE3.XkdyyA.6n4wvPmzOw-fwuysEoTPU8Cv2x0' });
|
|
|
|
manager.spawn();
|
|
manager.on('shardCreate', shard => console.log(`Launched shard ${shard.id}`));
|