schizgophrenia-got

command module
v0.0.0-...-2e80437 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 11 Imported by: 0

README

schizgophrenia-got

Attempt to migrate from terrifying javascript to distinguished golang. (God forgive me for my foolish decisions of the past.)

Environment variables

Variable Required? Possible values Description
CLIENT_TOKEN yes string Discord bot token
CLIENT_ID yes string Discord bot user ID
GUILD_ID no string Required for registering commands on single server, leave empty for global command registration
SQLITE_DATABASE_FILEPATH no string SQLite database location; will be set to "./userdata/userdata.sqlite3.db" if not specified
REGISTER_COMMANDS no 1/0, true/false, yes/no, on/off Wether to register commands; defaults to disabled
REMOVE_COMMANDS no 1/0, true/false, yes/no, on/off Wether to remove registered commands; defaults to disabled
GREETING_TIME_INTERVAL no int Time interval between greetings in utix seconds; defaults to 604800 (one week)

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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