authbot

package
v0.0.0-...-79683fd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2023 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectBot

func ConnectBot(l *logrus.Entry, token string) *discordgo.Session

ConnectBot connects bot or panics

func NewBot

func NewBot(botSession *discordgo.Session, flashpointServerID string, l *logrus.Entry, isDev bool) *bot

Types

type DiscordRoleReader

type DiscordRoleReader interface {
	GetFlashpointRoleIDsForUser(uid int64) ([]string, error)
	GetFlashpointRoles() ([]types.DiscordRole, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL