Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StarboardClient

Hierarchy

  • StarboardClient

Index

Constructors

Properties

cache: Collection<string, starMessageData[]> = ...
client: Client<boolean>
color: ColorResolvable
config: { guilds: { add: ((StarboardGuild: StarboardGuild) => void); set: ((StarboardGuilds: StarboardGuild[]) => void) } } = ...

Type declaration

guilds: StarboardGuild[]

Methods

  • cacheData(): void
  • Returns void

  • generateEdit(starCount: number, message: Message<boolean>): MessageOptions
  • Parameters

    • starCount: number
    • message: Message<boolean>

    Returns MessageOptions

  • Parameters

    • guildId: string

    Returns StarboardGuild

  • listener(reaction: MessageReaction): Promise<void>
  • Parameters

    • reaction: MessageReaction

    Returns Promise<void>

  • validGuild(guild: string): Boolean
  • Parameters

    • guild: string

    Returns Boolean

Generated using TypeDoc