Geeksbot/channel.go
2021-01-23 01:25:06 -09:00

18 lines
358 B
Go

package geeksbot
type Channel struct {
ID string
Guild Guild
Admin bool
Default bool
NewPatron bool
}
type ChannelService interface {
Channel(id string) (Channel, error)
CreateChannel(c Channel) (Channel, error)
DeleteChannel(c Channel) error
GuildChannels(g Guild) ([]Channel, error)
UpdateChannel(c Channel) (Channel, error)
}