You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
423 B
19 lines
423 B
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)
|
|
GetOrCreateChannel(id string, guild_id string) (Channel, error)
|
|
}
|