28 lines
520 B
Go
28 lines
520 B
Go
|
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
|
||
|
}
|