about summary refs log tree commit diff
path: root/pkg/discord/entities.go
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2022-04-08 12:54:09 +0200
committerMel <einebeere@gmail.com>2022-04-08 12:54:09 +0200
commit24f175df385466e04ef21d153713d2ecf3a9733b (patch)
tree1c5c6253a22804697462d3fb9e9f3189af15c286 /pkg/discord/entities.go
parent18389cf659c40cebc4572924929abfcec3c6b875 (diff)
downloadjinx-24f175df385466e04ef21d153713d2ecf3a9733b.tar.zst
jinx-24f175df385466e04ef21d153713d2ecf3a9733b.zip
Subdivide discord into packages
Diffstat (limited to 'pkg/discord/entities.go')
-rw-r--r--pkg/discord/entities.go23
1 files changed, 0 insertions, 23 deletions
diff --git a/pkg/discord/entities.go b/pkg/discord/entities.go
deleted file mode 100644
index 8a62fc6..0000000
--- a/pkg/discord/entities.go
+++ /dev/null
@@ -1,23 +0,0 @@
-package discord
-
-type Snowflake string
-
-type User struct {
-	ID            Snowflake `json:"id"`
-	Username      string    `json:"username"`
-	Discriminator string    `json:"discriminator"`
-}
-
-type Guild struct {
-	ID          Snowflake `json:"id"`
-	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"`
-}