about summary refs log tree commit diff
path: root/pkg/discord/payloads.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/discord/payloads.go')
-rw-r--r--pkg/discord/payloads.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkg/discord/payloads.go b/pkg/discord/payloads.go
index d7ab6d4..81c6c68 100644
--- a/pkg/discord/payloads.go
+++ b/pkg/discord/payloads.go
@@ -28,11 +28,12 @@ type GatewayIdentifyMsg struct {
 	Intents    uint64                    `json:"intents"`
 	Properties GatewayIdentifyProperties `json:"properties"`
 }
-type GatewayHelloMsg struct {
+
+type GatewayHelloEvent struct {
 	HeartbeatInterval uint64 `json:"heartbeat_interval"`
 }
 
-type GatewayReadyMsg struct {
+type GatewayReadyEvent struct {
 	Version   uint64  `json:"v"`
 	User      User    `json:"user"`
 	Guilds    []Guild `json:"guilds"`
@@ -40,6 +41,8 @@ type GatewayReadyMsg struct {
 	Shard     []int   `json:"shard"`
 }
 
+type GatewayMessageCreateEvent Message
+
 type GatewayIdentifyProperties struct {
 	OS      string `json:"$os"`
 	Browser string `json:"$browser"`