Something went wrong. Try again.
A Discord bot for listing active threads and announcing when threads reopen.
Something went wrong. Try again.
threadposter registerCommands.ts
123456789101112131415import { Client, GatewayIntentBits } from "discord.js";import { deployCommandsProd } from "./commands.ts";
const client = new Client({ intents: [GatewayIntentBits.Guilds],});
await client.login();
await deployCommandsProd(client);
await client.destroy();
Deno.exit(0);