From fdd0ea7911b2c98f95ef99f6d1518ee4eb4dfd7a Mon Sep 17 00:00:00 2001 From: Mel Date: Mon, 4 Apr 2022 01:53:41 +0200 Subject: Listen to incoming messages and respond to pings --- pkg/discord/entities.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'pkg/discord/entities.go') diff --git a/pkg/discord/entities.go b/pkg/discord/entities.go index 85965bf..8a62fc6 100644 --- a/pkg/discord/entities.go +++ b/pkg/discord/entities.go @@ -13,3 +13,11 @@ type Guild struct { Name string `json:"name"` Unavailable bool `json:"unavailable"` } + +type Message struct { + ID Snowflake `json:"id"` + ChannelID Snowflake `json:"channel_id"` + GuildID Snowflake `json:"guild_id"` + Author User `json:"author"` + Content string `json:"content"` +} -- cgit 1.4.1