Documentation ¶ Index ¶ type Bot func NewBot(discordToken string, backendURL string, serviceUUID string, ...) *Bot func (b *Bot) ActiveForUser(userID string) bool func (b *Bot) Close() error func (b *Bot) RefreshMember(user *api.User, member *discordgo.Member) error func (b *Bot) RefreshUser(user *api.User) error func (b *Bot) Start() Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Bot ¶ type Bot struct { // contains filtered or unexported fields } func NewBot ¶ func NewBot(discordToken string, backendURL string, serviceUUID string, backendToken string, debugUser string) *Bot func (*Bot) ActiveForUser ¶ func (b *Bot) ActiveForUser(userID string) bool func (*Bot) Close ¶ func (b *Bot) Close() error func (*Bot) RefreshMember ¶ added in v1.0.7 func (b *Bot) RefreshMember(user *api.User, member *discordgo.Member) error func (*Bot) RefreshUser ¶ added in v1.0.7 func (b *Bot) RefreshUser(user *api.User) error func (*Bot) Start ¶ func (b *Bot) Start() Source Files ¶ View all Source files bot.go Directories ¶ Show internal Expand all Path Synopsis api Package api provides primitives to interact with the openapi HTTP API. Package api provides primitives to interact with the openapi HTTP API. backend discord guild interaction nick world Click to show internal directories. Click to hide internal directories.