claptrap-go/discord/guild_status.go

28 lines
520 B
Go
Raw Permalink Normal View History

2024-07-08 18:09:43 +02:00
package discord
type GuildStatus struct {
AutoVoiceStatus *AutoVoiceGuildStatus
}
func NewGuildStatus() *GuildStatus {
return &GuildStatus{
AutoVoiceStatus: NewAutoVoiceGuildStatus(),
}
}
type AutoVoiceGuildStatus struct {
CreatedChannel map[string]*AutoVoiceChannelCreated
}
func NewAutoVoiceGuildStatus() *AutoVoiceGuildStatus {
return &AutoVoiceGuildStatus{
CreatedChannel: map[string]*AutoVoiceChannelCreated{},
}
}
type AutoVoiceChannelCreated struct {
ID string
Number int
Position int
}