hoshii / Exports / Constants

Constants

Table of contents

Enumerations

Interfaces

Type Aliases

Variables

Type Aliases

AnyChannel

Ƭ AnyChannel: CalendarChannel | DocChannel | ForumChannel | ServerChannel | TextChannel

Defined in

lib/Constants.ts:136open in new window


AnyPacket

Ƭ AnyPacket: RawPacket | WelcomePacket

Defined in

lib/Constants.ts:142open in new window


AnyReaction

Ƭ AnyReaction: ChatMessageReactionInfo | ForumTopicReactionInfo

Defined in

lib/Constants.ts:143open in new window


AnyServerChannel

Ƭ AnyServerChannel: Exclude<AnyChannel, ServerChannel>

Defined in

lib/Constants.ts:144open in new window


AnyTextableChannel

Ƭ AnyTextableChannel: TextChannel

Defined in

lib/Constants.ts:145open in new window


ChannelReactionTypes

Ƭ ChannelReactionTypes: "ChannelMessage" | "ForumTopic"

Defined in

lib/Constants.ts:146open in new window


GATEWAY_EVENTS

Ƭ GATEWAY_EVENTS: typeof GatewayEvents

Defined in

lib/Constants.ts:147open in new window


MessageCategories

Ƭ MessageCategories: "default" | "system"

Defined in

lib/Constants.ts:148open in new window


PossiblyUncachedChatMessage

Ƭ PossiblyUncachedChatMessage: ChatMessage<AnyTextableChannel> | { channelID: string ; deletedAt: Date ; id: string ; isPrivate?: boolean | null ; serverID: string }

Defined in

lib/Constants.ts:149open in new window


ServerCategories

Ƭ ServerCategories: "clan" | "community" | "friend" | "guild" | "organization" | "other" | "streaming" | "team"

Defined in

lib/Constants.ts:170open in new window


ServerChannelCategories

Ƭ ServerChannelCategories: "announcement" | "calendar" | "chat" | "docs" | "forums" | "list" | "media" | "scheduling" | "stream" | "voice"

Defined in

lib/Constants.ts:159open in new window


UserTypes

Ƭ UserTypes: "bot" | "user"

Defined in

lib/Constants.ts:158open in new window

Variables

APIURL

Const APIURL: string

Defined in

lib/Constants.ts:41open in new window


DefaultConfig

Const DefaultConfig: Object

Type declaration

NameType
GuildedAPI{ APIURL: string ; GatewayURL: string ; GatewayVersion: number }
GuildedAPI.APIURLstring
GuildedAPI.GatewayURLstring
GuildedAPI.GatewayVersionnumber
NodeJSVersionstring
branchstring
namestring
versionstring

Defined in

lib/Constants.ts:599open in new window


GatewayEvents

Const GatewayEvents: Object

Type declaration

NameType
BotServerMembershipCreated"BotServerMembershipCreated"
BotServerMembershipDeleted"BotServerMembershipDeleted"
CalendarEventCreated"CalendarEventCreated"
CalendarEventDeleted"CalendarEventDeleted"
CalendarEventRsvpDeleted"CalendarEventRsvpDeleted"
CalendarEventRsvpManyUpdated"CalendarEventRsvpManyUpdated"
CalendarEventRsvpUpdated"CalendarEventRsvpUpdated"
CalendarEventUpdated"CalendarEventUpdated"
ChannelMessageReactionCreated"ChannelMessageReactionCreated"
ChannelMessageReactionDeleted"ChannelMessageReactionDeleted"
ChatMessageCreated"ChatMessageCreated"
ChatMessageDeleted"ChatMessageDeleted"
ChatMessageUpdated"ChatMessageUpdated"
DocCreated"DocCreated"
DocDeleted"DocDeleted"
DocUpdated"DocUpdated"
ForumTopicCommentCreated"ForumTopicCommentCreated"
ForumTopicCommentDeleted"ForumTopicCommentDeleted"
ForumTopicCommentReactionCreated"ForumTopicCommentReactionCreated"
ForumTopicCommentReactionDeleted"ForumTopicCommentReactionDeleted"
ForumTopicCommentUpdated"ForumTopicCommentUpdated"
ForumTopicCreated"ForumTopicCreated"
ForumTopicDeleted"ForumTopicDeleted"
ForumTopicLocked"ForumTopicLocked"
ForumTopicPinned"ForumTopicPinned"
ForumTopicReactionCreated"ForumTopicReactionCreated"
ForumTopicReactionDeleted"ForumTopicReactionDeleted"
ForumTopicUnlocked"ForumTopicUnlocked"
ForumTopicUnpinned"ForumTopicUnpinned"
ForumTopicUpdated"ForumTopicUpdated"
ListItemCompleted"ListItemCompleted"
ListItemCreated"ListItemCreated"
ListItemDeleted"ListItemDeleted"
ListItemUncompleted"ListItemUncompleted"
ListItemUpdated"ListItemUpdated"
ServerChannelCreated"ServerChannelCreated"
ServerChannelDeleted"ServerChannelDeleted"
ServerChannelUpdated"ServerChannelUpdated"
ServerMemberBanned"ServerMemberBanned"
ServerMemberJoined"ServerMemberJoined"
ServerMemberRemoved"ServerMemberRemoved"
ServerMemberUnbanned"ServerMemberUnbanned"
ServerMemberUpdated"ServerMemberUpdated"
ServerRolesUpdated"ServerRolesUpdated"
ServerWebhookCreated"ServerWebhookCreated"
ServerWebhookUpdated"ServerWebhookUpdated"

Defined in

lib/Constants.ts:42open in new window


GatewayURL

Const GatewayURL: string

Defined in

lib/Constants.ts:40open in new window


GatewayVersion

Const GatewayVersion: 1

Defined in

lib/Constants.ts:39open in new window

Last Updated:
Contributors: Reinhardt