Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BotCollector ¶
type BotCollector interface { prometheus.Collector TrackMessage(channel, userHandle string) TrackBotUsage(channel, userHandle string) }
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func New ¶
New creates a new instance of the service, which creates a new discord session and manage them.
func (*Service) HelpMessage ¶
HelpMessage returns all commands of the bot
func (*Service) ListenAndServe ¶
ListenAndServe listen on the tcp connection
func (*Service) TrackRequest ¶
Click to show internal directories.
Click to hide internal directories.