Geeksbot/channel.go
2021-01-20 17:39:18 -09:00

18 lines
366 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)
}