Constants
Table of contents
Enumerations
Interfaces
- CalendarEventBody
- CalendarEventRSVPBody
- CalendarEventRSVPResponse
- CalendarEventRSVPsResponse
- CalendarEventResponse
- CalendarEventsResponse
- ChannelMessageResponse
- ChannelMessagesResponse
- ChatEmbedOptions
- ClientEvents
- DocBody
- DocResponse
- DocsResponse
- EmbedAuthor
- EmbedField
- EmbedFooter
- EmbedImage
- ForumTopicCommentResponse
- ForumTopicCommentsResponse
- ForumTopicResponse
- ForumTopicsResponse
- ListItemBody
- ListItemResponse
- ListItemsResponse
- Mentions
- Payload_BotServerMembershipCreated
- Payload_BotServerMembershipDeleted
- Payload_CalendarEvent
- Payload_CalendarEventRSVP
- Payload_CalendarEventRSVPManyUpdate
- Payload_ChannelMessageReaction
- Payload_ChatMessage
- Payload_ChatMessageDeleted
- Payload_Doc
- Payload_ForumTopic
- Payload_ForumTopicComment
- Payload_ForumTopicCommentReaction
- Payload_ForumTopicReaction
- Payload_ListItem
- Payload_ServerChannel
- Payload_ServerMemberBan
- Payload_ServerMemberJoined
- Payload_ServerMemberRemoved
- Payload_ServerMemberUpdated
- Payload_ServerRolesUpdated
- Payload_ServerWebhook
- RawPacket
- ServerBanResponse
- ServerChannelBody
- ServerChannelResponse
- ServerMemberResponse
- ServerMemberSocialLinkResponse
- ServerMemberXPBody
- ServerMemberXPResponse
- ServerMembersResponse
- ServerResponse
- ServerWebhookBody
- ServerWebhookQuery
- ServerWebhookResponse
- ServerWebhooksResponse
- SocialLink
- SocialLinkResponse
- UserResponse
- WebsocketEvents
- WelcomePacket
Type Aliases
- AnyChannel
- AnyPacket
- AnyReaction
- AnyServerChannel
- AnyTextableChannel
- ChannelReactionTypes
- GATEWAY_EVENTS
- MessageCategories
- PossiblyUncachedChatMessage
- ServerCategories
- ServerChannelCategories
- UserTypes
Variables
Type Aliases
AnyChannel
Ƭ AnyChannel: CalendarChannel
| DocChannel
| ForumChannel
| ServerChannel
| TextChannel
Defined in
AnyPacket
Ƭ AnyPacket: RawPacket
| WelcomePacket
Defined in
AnyReaction
Ƭ AnyReaction: ChatMessageReactionInfo
| ForumTopicReactionInfo
Defined in
AnyServerChannel
Ƭ AnyServerChannel: Exclude
<AnyChannel
, ServerChannel
>
Defined in
AnyTextableChannel
Ƭ AnyTextableChannel: TextChannel
Defined in
ChannelReactionTypes
Ƭ ChannelReactionTypes: "ChannelMessage"
| "ForumTopic"
Defined in
GATEWAY_EVENTS
Ƭ GATEWAY_EVENTS: typeof GatewayEvents
Defined in
MessageCategories
Ƭ MessageCategories: "default"
| "system"
Defined in
PossiblyUncachedChatMessage
Ƭ PossiblyUncachedChatMessage: ChatMessage
<AnyTextableChannel
> | { channelID
: string
; deletedAt
: Date
; id
: string
; isPrivate?
: boolean
| null
; serverID
: string
}
Defined in
ServerCategories
Ƭ ServerCategories: "clan"
| "community"
| "friend"
| "guild"
| "organization"
| "other"
| "streaming"
| "team"
Defined in
ServerChannelCategories
Ƭ ServerChannelCategories: "announcement"
| "calendar"
| "chat"
| "docs"
| "forums"
| "list"
| "media"
| "scheduling"
| "stream"
| "voice"
Defined in
UserTypes
Ƭ UserTypes: "bot"
| "user"
Defined in
Variables
APIURL
• Const
APIURL: string
Defined in
DefaultConfig
• Const
DefaultConfig: Object
Type declaration
Name | Type |
---|---|
GuildedAPI | { APIURL : string ; GatewayURL : string ; GatewayVersion : number } |
GuildedAPI.APIURL | string |
GuildedAPI.GatewayURL | string |
GuildedAPI.GatewayVersion | number |
NodeJSVersion | string |
branch | string |
name | string |
version | string |
Defined in
GatewayEvents
• Const
GatewayEvents: Object
Type declaration
Name | Type |
---|---|
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
GatewayURL
• Const
GatewayURL: string
Defined in
GatewayVersion
• Const
GatewayVersion: 1