UNPKG

@sodacore/discord

Version:

Sodacore Discord is a plugin that offers Discord SSO/OAuth2 support and the ability to create bots in a similar controller pattern.

21 lines 577 B
import { BaseService } from '@sodacore/core'; /** * The Discord service, will initialise a discord client * that can then route interactions and messages to the * appropriate handlers. * @class DiscordService * @extends {BaseService} * @default */ export default class DiscordService extends BaseService { private config; private router; private client; private discordConfig; init(): Promise<void>; start(): Promise<void>; stop(): Promise<void>; private handleInteraction; private handleEvent; } //# sourceMappingURL=discord.d.ts.map