discordjs-giveaways
Version:
A customisable giveaways manager for Discord.js v14 and mysql
13 lines (12 loc) • 661 B
TypeScript
export { GiveawayManager } from './structures/GiveawayManager';
export { giveawayInput, giveaway as Giveaway, gwSql as GiveawaySQLData } from './typings/giveaway';
export * as buttons from './assets/buttons';
export * as embeds from './assets/embeds';
import { giveaway as Giveaway } from './typings/giveaway';
declare module 'discord.js' {
interface ClientEvents {
giveawayStarted: [giveaway: Giveaway, channel: TextChannel, user: string];
giveawayRerolled: [giveaway: Giveaway, channel: TextChannel, oldWinners: string[], newWinners: string[]];
giveawayEnded: [giveaway: Giveaway, channel: TextChannel, winners: string[]];
}
}