begin simple typescript migration
This commit is contained in:
4 files changed
+7028
-3686
No files matched your search
@@ -0,0 +1,8 @@
|
||||
import { ShardingManager } from "discord.js";
|
||||
const config = require("./config/config");
|
||||
|
||||
const manager = new ShardingManager("./bot.js", { token: config.Token });
|
||||
|
||||
manager.on("shardCreate", shard => console.log(`Launched shard ${shard.id}`));
|
||||
|
||||
manager.spawn();
|
||||
Reference in new issue
Block a user