Interface AddGiveaway

Hierarchy

  • AddGiveaway

Properties

button?: {
    emoji?: string;
    style?: ButtonStyles | ButtonStyle;
}

Type declaration

  • Optional emoji?: string

    Use the unicode or custom Discord EMOJI ID

  • Optional style?: ButtonStyles | ButtonStyle
channelId: string
end: string | Date
entries?: Entries[]
guildId: string
host?: {
    id: string;
    mention?: boolean;
}

Type declaration

  • id: string
  • Optional mention?: boolean
mentions?: {
    id: string;
    type: "role" | "user";
}[]

Type declaration

  • id: string
  • type: "role" | "user"
options?: Pick<MessageCreateOptions, "content" | "embeds" | "components" | "files">
prize: string
roles?: Partial<Record<RoleTypes, string[]>>
winners?: number

Generated using TypeDoc