summary refs log tree commit diff
path: root/compat/nixos
AgeCommit message (Collapse)Author
2024-10-22Add compatibility scripts for nixos-option and other legacy nix toolsMel
Signed-off-by: Mel <einebeere@gmail.com>
='#n20'>20 21 22 23
package entities

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"`
}