UNPKG

@globalart/nestcord

Version:

A module for creating Discord bots using NestJS, based on Discord.js

16 lines (15 loc) 838 B
import { OnApplicationBootstrap, OnModuleInit } from '@nestjs/common'; import { TextCommandsService } from './text-commands.service'; import { NestCordModuleOptions } from '../nestcord-options.interface'; import { Client } from 'discord.js'; import { ExplorerService } from '../nestcord-explorer.service'; import { TextCommandDiscovery } from './text-command.discovery'; export declare class TextCommandsModule implements OnModuleInit, OnApplicationBootstrap { private readonly options; private readonly client; private readonly explorerService; private readonly textCommandsService; constructor(options: NestCordModuleOptions, client: Client, explorerService: ExplorerService<TextCommandDiscovery>, textCommandsService: TextCommandsService); onModuleInit(): void; onApplicationBootstrap(): Client<boolean>; }