UNPKG

@averagehelper/corde

Version:

A simple library for Discord bot tests. (Republished fork to demonstrate a bugfix)

15 lines (14 loc) 502 B
import { Client, MessageReaction } from "discord.js"; export declare class Events { protected readonly _client: Client; constructor(client: Client); /** * Emitted when the client becomes ready to start working. * @param fn Operation to be executed after client becomes ready. */ onReady(fn: () => void): void; /** * Emitted when a **bot** removes a emoji from a message; */ onMessageReactionRemoveEmoji(fn: (reaction: MessageReaction) => void): void; }