Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAndStartSession ¶
func CreateAndStartSession(conf DiscordConf, fatalErr chan error)
Types ¶
type DiscordAdmin ¶
type DiscordBot ¶
type DiscordBot struct { Token string Admins []DiscordAdmin Session *discordgo.Session ErrChan chan error }
func (*DiscordBot) Run ¶
func (b *DiscordBot) Run() error
type DiscordConf ¶
type DiscordConf struct { BotToken string Admins []DiscordAdmin }
Click to show internal directories.
Click to hide internal directories.