diff options
| author | Mel <einebeere@gmail.com> | 2022-04-04 01:53:41 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2022-04-04 01:53:41 +0200 |
| commit | fdd0ea7911b2c98f95ef99f6d1518ee4eb4dfd7a (patch) | |
| tree | 702f893e5ef2ec4196cd37393014b3ca59e5c0dc /pkg/discord/entities.go | |
| parent | b80bda2da026086523f1de8f460637a376c53bf2 (diff) | |
| download | jinx-fdd0ea7911b2c98f95ef99f6d1518ee4eb4dfd7a.tar.zst jinx-fdd0ea7911b2c98f95ef99f6d1518ee4eb4dfd7a.zip | |
Listen to incoming messages and respond to pings
Diffstat (limited to 'pkg/discord/entities.go')
| -rw-r--r-- | pkg/discord/entities.go | 8 |
1 files changed, 8 insertions, 0 deletions
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"` +} |
