Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ChannelGuildStore

Guild Store Channel

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

_keys

_keys: BaseSet<string> = keysChannelGuildStore

_keysMerge

_keysMerge: BaseSet<string> = keysMergeChannelGuildBase

Optional _nicks

_nicks: BaseCollection<string, string>

Optional _permissionOverwrites

_permissionOverwrites: BaseCollection<string, Overwrite>

Optional _recipients

_recipients: BaseCollection<string, User>

Optional applicationId

applicationId: undefined | string

bitrate

bitrate: number = 0

client

client: ShardClient

deleted

deleted: boolean = false

guildId

guildId: string = ""

Optional icon

icon: null | string

id

id: string = ""

isPartial

isPartial: boolean = false

Optional lastMessageId

lastMessageId: null | string

lastPinTimestampUnix

lastPinTimestampUnix: number = 0

name

name: string

nsfw

nsfw: boolean = false

Optional parentId

parentId: null | string

position

position: number = -1

rateLimitPerUser

rateLimitPerUser: number = 0

Optional topic

topic: undefined | string

type

type: ChannelTypes = ChannelTypes.GUILD_STORE

userLimit

userLimit: number = 0

Accessors

canAddReactions

  • get canAddReactions(): boolean

canAttachFiles

  • get canAttachFiles(): boolean

canDeafenMembers

  • get canDeafenMembers(): boolean

canEdit

  • get canEdit(): boolean

canEmbedLinks

  • get canEmbedLinks(): boolean

canJoin

  • get canJoin(): boolean

canManageMessages

  • get canManageMessages(): boolean

canManageWebhooks

  • get canManageWebhooks(): boolean

canMentionEveryone

  • get canMentionEveryone(): boolean

canMessage

  • get canMessage(): boolean

canMoveMembers

  • get canMoveMembers(): boolean

canMuteMembers

  • get canMuteMembers(): boolean

canPrioritySpeaker

  • get canPrioritySpeaker(): boolean

canReadHistory

  • get canReadHistory(): boolean

canSendTTSMessage

  • get canSendTTSMessage(): boolean

canSpeak

  • get canSpeak(): boolean

canStream

  • get canStream(): boolean

canUseExternalEmojis

  • get canUseExternalEmojis(): boolean

canUseVAD

  • get canUseVAD(): boolean

canView

  • get canView(): boolean

children

createdAt

  • get createdAt(): Date

createdAtUnix

  • get createdAtUnix(): number

defaultIconUrl

  • get defaultIconUrl(): null | string

guild

  • get guild(): Guild | null

iconUrl

  • get iconUrl(): null | string
  • Returns null | string

isDm

  • get isDm(): boolean
  • Returns boolean

isDmGroup

  • get isDmGroup(): boolean

isDmSingle

  • get isDmSingle(): boolean

isGuildCategory

  • get isGuildCategory(): boolean

isGuildChannel

  • get isGuildChannel(): boolean

isGuildNews

  • get isGuildNews(): boolean

isGuildStore

  • get isGuildStore(): boolean

isGuildText

  • get isGuildText(): boolean

isGuildVoice

  • get isGuildVoice(): boolean

isManaged

  • get isManaged(): boolean

isSyncedWithParent

  • get isSyncedWithParent(): boolean

isText

  • get isText(): boolean
  • Returns boolean

isVoice

  • get isVoice(): boolean
  • Returns boolean

joined

  • get joined(): boolean
  • Returns boolean

jumpLink

  • get jumpLink(): string

lastPinTimestamp

  • get lastPinTimestamp(): Date | null

members

  • get members(): BaseCollection<string, Member>

mention

  • get mention(): string
  • Returns string

messages

  • get messages(): BaseCollection<string, Message>

nicks

  • get nicks(): BaseCollection<string, string>
  • Returns BaseCollection<string, string>

owner

  • get owner(): User | null

parent

permissionOverwrites

  • get permissionOverwrites(): BaseCollection<string, Overwrite>

recipients

  • get recipients(): BaseCollection<string, User>

shardId

  • get shardId(): number
  • Returns number

typing

  • get typing(): BaseCollection<string, Typing>
  • Returns BaseCollection<string, Typing>

voiceStates

  • get voiceStates(): BaseCollection<string, VoiceState>

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

addPinnedMessage

  • addPinnedMessage(messageId: string): Promise<any>
  • Parameters

    • messageId: string

    Returns Promise<any>

addRecipient

  • addRecipient(userId: string): Promise<any>
  • Parameters

    • userId: string

    Returns Promise<any>

bulkDelete

  • bulkDelete(messageIds: Array<string>): Promise<any>
  • Parameters

    • messageIds: Array<string>

    Returns Promise<any>

can

  • can(permissions: PermissionTools.PermissionChecks, memberOrRole?: Member | Role, __namedParameters?: object): boolean
  • Parameters

    • permissions: PermissionTools.PermissionChecks
    • Optional memberOrRole: Member | Role
    • Default value __namedParameters: object = {}
      • ignoreAdministrator: undefined | false | true
      • ignoreOwner: undefined | false | true

    Returns boolean

close

  • close(): Promise<any>
  • Returns Promise<any>

createInvite

  • createInvite(options: CreateChannelInvite): Promise<Invite>
  • Parameters

    • options: CreateChannelInvite

    Returns Promise<Invite>

createMessage

  • createMessage(options?: CreateMessage | string): Promise<any>
  • Parameters

    • Default value options: CreateMessage | string = {}

    Returns Promise<any>

createReaction

  • createReaction(messageId: string, emoji: string): Promise<any>
  • Parameters

    • messageId: string
    • emoji: string

    Returns Promise<any>

createWebhook

  • createWebhook(options: CreateWebhook): Promise<any>
  • Parameters

    • options: CreateWebhook

    Returns Promise<any>

delete

deleteMessage

  • deleteMessage(messageId: string, options?: DeleteMessage): Promise<any>
  • Parameters

    • messageId: string
    • Default value options: DeleteMessage = {}

    Returns Promise<any>

deleteOverwrite

  • deleteOverwrite(overwriteId: string, options?: DeleteChannelOverwrite): Promise<any>

deletePin

  • deletePin(messageId: string): Promise<any>
  • Parameters

    • messageId: string

    Returns Promise<any>

deleteReaction

  • deleteReaction(messageId: string, emoji: string, userId?: string): Promise<any>
  • Parameters

    • messageId: string
    • emoji: string
    • Default value userId: string = "@me"

    Returns Promise<any>

deleteReactions

  • deleteReactions(messageId: string): Promise<any>
  • Parameters

    • messageId: string

    Returns Promise<any>

difference

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

    • key: string
    • value: any

    Returns [boolean, any]

differences

edit

  • edit(options?: EditChannel): Promise<any>
  • Parameters

    • Default value options: EditChannel = {}

    Returns Promise<any>

editMessage

  • editMessage(messageId: string, options?: EditMessage): Promise<any>
  • Parameters

    • messageId: string
    • Default value options: EditMessage = {}

    Returns Promise<any>

editOverwrite

  • editOverwrite(overwriteId: string, options?: EditChannelOverwrite): Promise<any>

fetchCallStatus

  • fetchCallStatus(): Promise<any>

fetchInvites

  • fetchInvites(): Promise<BaseCollection<string, Invite>>

fetchMessage

  • fetchMessage(messageId: string): Promise<any>
  • Parameters

    • messageId: string

    Returns Promise<any>

fetchMessages

  • fetchMessages(options?: FetchMessages): Promise<any>
  • Parameters

    • Default value options: FetchMessages = {}

    Returns Promise<any>

fetchPins

  • fetchPins(): Promise<any>
  • Returns Promise<any>

fetchReactions

  • fetchReactions(messageId: string, emoji: string, options?: FetchReactions): Promise<any>
  • Parameters

    • messageId: string
    • emoji: string
    • Default value options: FetchReactions = {}

    Returns Promise<any>

fetchStoreListing

fetchWebhooks

  • fetchWebhooks(): Promise<any>

grantEntitlement

  • grantEntitlement(): Promise<any>

iconUrlFormat

  • iconUrlFormat(format?: null | string, query?: UrlQuery): null | string
  • Parameters

    • Optional format: null | string
    • Optional query: UrlQuery

    Returns null | string

isSyncedWith

join

  • join(...args: any[]): Promise<any>
  • Parameters

    • Rest ...args: any[]

    Returns Promise<any>

merge

mergeValue

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

publish

  • publish(options: CreateApplicationNews): Promise<any>
  • Parameters

    • options: CreateApplicationNews

    Returns Promise<any>

removeRecipient

  • removeRecipient(userId: string): Promise<any>
  • Parameters

    • userId: string

    Returns Promise<any>

search

  • search(options: SearchOptions, retry?: undefined | false | true): Promise<any>
  • Parameters

    • options: SearchOptions
    • Optional retry: undefined | false | true

    Returns Promise<any>

startCallRinging

  • startCallRinging(recipients?: Array<string>): Promise<any>

stopCallRinging

  • stopCallRinging(recipients?: Array<string>): Promise<any>

toJSON

  • toJSON(): object
  • Returns object

toString

  • toString(): string

triggerTyping

  • triggerTyping(): Promise<any>

turnIntoNewsChannel

  • turnIntoNewsChannel(): Promise<any>

turnIntoTextChannel

  • turnIntoTextChannel(): Promise<any>

unack

  • unack(): Promise<any>
  • Returns Promise<any>

Generated using TypeDoc