123456789101112131415 |
- import { Client, ClientUser } from "discord.js";
- import { XenforoClient } from "./xenforo";
- export const FORUMS_DOMAIN = "https://custommaid3d2.com";
- export class BotClient {
- public bot = new Client();
- public forum = new XenforoClient(`${FORUMS_DOMAIN}/api`, process.env.FORUM_API_KEY ?? "");
- get botUser(): ClientUser {
- return this.bot.user!;
- }
- }
- export const client = new BotClient();
|