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.

15 lines 526 B
import { type Client, type Interaction } from 'lilybird'; export default class InteractionContext { private client; private payload; constructor(client: Client, payload: Interaction.Structure); getUser(): any; getUserId(): any; getGuildId(): any; getData(): any; getChannel(): any; deferMessage(): Promise<void>; replyWithMessage(message: string, defer?: boolean): Promise<void>; updateDeferredWithMessage(message: string): Promise<void>; } //# sourceMappingURL=interaction.d.ts.map