UNPKG

@hunteroi/discord-server-generator

Version:

A framework to generate Discord guild categories, channels and roles, built with DiscordJS

17 lines (16 loc) 494 B
import { Client } from "discord.js"; import { ServerGeneratorManager } from "./ServerGeneratorManager.js"; /** * A Discord client with an embedded {@link ServerGeneratorManager}. * * @export * @class ServerGeneratorClient * @extends {Client} */ export class ServerGeneratorClient extends Client { serverGeneratorManager; constructor(options, managerOptions) { super(options); this.serverGeneratorManager = new ServerGeneratorManager(this, managerOptions); } }