Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Emoji

Emoji Structure

Hierarchy

Index

Constructors

constructor

Properties

_keys

_keys: BaseSet<string> = keysEmoji

_keysMerge

_keysMerge: BaseSet<string> = keysMergeEmoji

Optional _roles

_roles: BaseCollection<string, null | Role>

animated

animated: boolean = false

Optional available

available: undefined | false | true

client

client: ShardClient

Optional guildId

guildId: undefined | string

id

id: null | string = null

Optional managed

managed: undefined | false | true

name

name: string = ""

Optional requireColons

requireColons: undefined | false | true

Optional user

user: User

Accessors

createdAt

  • get createdAt(): Date | null
  • Returns Date | null

createdAtUnix

  • get createdAtUnix(): null | number
  • Returns null | number

endpointFormat

  • get endpointFormat(): string
  • Returns string

format

  • get format(): string
  • Returns string

guild

  • get guild(): Guild | null
  • Returns Guild | null

roles

  • get roles(): BaseCollection<string, null | Role>
  • Returns BaseCollection<string, null | Role>

shardId

  • get shardId(): number
  • Returns number

url

  • get url(): string
  • Returns string

Methods

[inspect.custom]

  • [inspect.custom](): object

_getFromSnake

  • _getFromSnake(key: string): any
  • Parameters

    • key: string

    Returns any

_setFromSnake

  • _setFromSnake(key: string, value: any): any
  • Parameters

    • key: string
    • value: any

    Returns any

delete

  • delete(options?: DeleteGuildEmoji): Promise<any>
  • Parameters

    • Default value options: DeleteGuildEmoji = {}

    Returns Promise<any>

difference

  • difference(key: string, value: any): [boolean, any]
  • Parameters

    • key: string
    • value: any

    Returns [boolean, any]

differences

edit

  • edit(options: EditGuildEmoji): Promise<Emoji>
  • Parameters

    • options: EditGuildEmoji

    Returns Promise<Emoji>

fetchData

  • fetchData(options?: object): Promise<any>
  • Parameters

    • Default value options: object = {}

    Returns Promise<any>

merge

mergeValue

  • mergeValue(key: string, value: any): void
  • Parameters

    • key: string
    • value: any

    Returns void

toJSON

  • toJSON(withRoles?: undefined | false | true): any
  • Parameters

    • Optional withRoles: undefined | false | true

    Returns any

toString

  • toString(): string
  • Returns string

urlFormat

  • Parameters

    Returns string

Generated using TypeDoc