Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StarboardClient

Hierarchy

  • StarboardClient

Index

Constructors

constructor

Properties

cache

cache: Collection<string, starMessageData[]> = ...

client

client: Client<boolean>

color

color: ColorResolvable

config

config: { guilds: { add: (StarboardGuild: StarboardGuild) => void; set: (StarboardGuilds: StarboardGuild[]) => void } } = ...

Type declaration

guilds

guilds: StarboardGuild[]

Methods

Private cacheData

  • cacheData(): void
  • Returns void

Private generateEdit

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

    • starCount: number
    • message: Message

    Returns MessageOptions

Private getData

  • Parameters

    • guildId: string

    Returns StarboardGuild

listener

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

    • reaction: MessageReaction

    Returns Promise<void>

Private validGuild

  • validGuild(guild: string): Boolean
  • Parameters

    • guild: string

    Returns Boolean

Generated using TypeDoc