@globalart/nestcord
Version:
A module for creating Discord bots using NestJS, based on Discord.js
14 lines (13 loc) • 717 B
TypeScript
import { OnApplicationBootstrap, OnModuleInit } from '@nestjs/common';
import { SlashCommandsService } from './slash-commands.service';
import { Client } from 'discord.js';
import { ExplorerService } from '../../nestcord-explorer.service';
import { SlashCommandDiscovery } from './slash-command.discovery';
export declare class SlashCommandsModule implements OnModuleInit, OnApplicationBootstrap {
private readonly client;
private readonly explorerService;
private readonly slashCommandsService;
constructor(client: Client, explorerService: ExplorerService<SlashCommandDiscovery>, slashCommandsService: SlashCommandsService);
onModuleInit(): void;
onApplicationBootstrap(): Client<boolean>;
}