mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-16 09:39:09 +00:00
feat(bot): add dockerfile for JS rewrite, fix some loose ends (#210)
This commit is contained in:
parent
7ec603cf70
commit
3190d41a9e
4 changed files with 23 additions and 32 deletions
|
@ -5,5 +5,8 @@ const { ShardingManager } = require('discord.js');
|
|||
|
||||
const botToken = process.env['BOT_TOKEN'];
|
||||
|
||||
const manager = new ShardingManager('./bot.js', { token: botToken });
|
||||
const manager = new ShardingManager(path.resolve(__dirname, 'bot.js'), {
|
||||
token: botToken,
|
||||
});
|
||||
|
||||
manager.spawn();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue