Cleanup on bot start
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
import { runCleanup } from "../service";
|
||||
import client from "./index";
|
||||
|
||||
const token = process.env["TOKEN"];
|
||||
@ -7,4 +8,6 @@ client.login(token);
|
||||
|
||||
client.on("ready", () => {
|
||||
console.log(`Connected to Discord API. Bot account is ${client.user?.tag} (${client.user?.id})`);
|
||||
|
||||
runCleanup();
|
||||
});
|
Reference in New Issue
Block a user