Documentation ¶
Index ¶
Constants ¶
View Source
const ( BotTokenEnv = "KARDBOT_TOKEN" BotOwnerEnv = "KARDBOT_OWNER_ID" TestbedGuildEnv = "KARDBOT_TESTBED_GUILD" Intents = discordgo.IntentsAllWithoutPrivileged ImgflipUserEnv = "IMGFLIP_API_USERNAME" ImgflipPassEnv = "IMGFLIP_API_PASSWORD" HuggingFaceTokenEnv = "HUGGING_FACE_TOKEN" )
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 AssetsDir string = "./assets"
View Source
const MaxDiscordMsgLen uint64 = 2000
View Source
const PastaConfigFile = "config/pasta.json"
View Source
const (
StoryTimeConfigFile = "config/storytime.json"
)
View Source
const WednesdayAssetsDir string = AssetsDir + "/wednesday"
Variables ¶
Functions ¶
func RandomBoolean ¶
func RandomBoolean() bool
func RunAndBlock ¶
func RunAndBlock()
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.