GatewayEvents
Defined in: types/index.ts:17
https://docs.discord.com/developers/events/gateway-events
Properties
Section titled “Properties”MESSAGE_CREATE
Section titled “MESSAGE_CREATE”MESSAGE_CREATE:
Message&object
Defined in: types/index.ts:18
Type Declaration
Section titled “Type Declaration”guild_id?
Section titled “guild_id?”
optionalguild_id:string
member?
Section titled “member?”
optionalmember:Partial<GuildMember>
mentions
Section titled “mentions”mentions:
User&object[]
MESSAGE_DELETE
Section titled “MESSAGE_DELETE”MESSAGE_DELETE:
object
Defined in: types/index.ts:24
channel_id
Section titled “channel_id”channel_id:
string
guild_id?
Section titled “guild_id?”
optionalguild_id:string
id:
string
MESSAGE_UPDATE
Section titled “MESSAGE_UPDATE”MESSAGE_UPDATE:
Message&object
Defined in: types/index.ts:30
Type Declaration
Section titled “Type Declaration”tts:
false
READY:
object
Defined in: types/index.ts:32
session_id
Section titled “session_id”session_id:
string
user:
User
WS_DEBUG
Section titled “WS_DEBUG”WS_DEBUG:
string
Defined in: types/index.ts:37
WS_ERROR
Section titled “WS_ERROR”WS_ERROR:
string
Defined in: types/index.ts:38