kardbot

package
v1.1.1-beta Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2021 License: AGPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BotTokenEnv     = "KARDBOT_TOKEN"
	BotOwnerEnv     = "KARDBOT_OWNER_ID"
	TestbedGuildEnv = "KARDBOT_TESTBED_GUILD"
	Intents         = discordgo.IntentsAllWithoutPrivileged
)
View Source
const (
	MinDieSides uint64 = 2 // What the hell would a 1-sided die be? A black hole?
	DieStartVal uint64 = 1 // Dice numbering starts at this value
)
View Source
const MaxDiscordMsgLen uint64 = 2000

Variables

This section is empty.

Functions

func Block

func Block()

func RandomBoolean

func RandomBoolean() bool

func Run

func Run()

Run initializes and starts the bot. Returns a WaitGroup

func RunAndBlock

func RunAndBlock()

func Stop

func Stop()

Stop and clean up.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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