Just another nonsense discord bot
Command | Description | Argument(s) |
---|---|---|
ping | Message to test the connection to the BOT | - |
conch | Play a random clip from the magic conch | - |
cat | Get a random cat fact, or image | fact or pic |
quote | Get a random quote | - |
insult | Insult one of the members, either randomly or targeted | [Member] |
bored | Find a random activity to fight boredom | - |
whatIs | Definitions with example sentence and photo if available | |
advice | Display a random advice slip | - |
help | Display all available commands | - |
xkdc | Get a xkdc comic | [Number] |
number | Get trivia for a given number, a random number, or the current date | [random or number] |
iss | Show the current location of the ISS | - |
Either place a .env
file at root of the project or export the variables directly.
Mandatory
- TOKEN
- The API key for your Discord bot
- SERVERID
- The ID of your server the bot resides in
Optional
- OWLBOT
- An API key for the Owlbot dictionary API
- Only needed, if you want to use the
whatIs
command
- C_PREFIX
- How to call the bot in a text channel, default:
/wizard
- How to call the bot in a text channel, default:
- C_ALIAS
- The alias for the command, default:
/w
- The alias for the command, default:
- DATABASE_URL
- The URL to your postgres DB
- DISABLE_DB
- Explicitly disables the DB
- DISABLE_DB_INITILIZATION
- Explicitly disables the initilization of the DB schemata
- LOG_LEVEL
- Conform to the severity ordering specified by RFC5424: severity of all levels is assumed to be numerically ascending from most important to least important.
- Sets on of the following log levels:
- error: 0
- warn: 1
- info: 2
- verbose: 3
- debug: 4
A list of all used public apis can be found in the publicApis
object inside of the data.ts
file.
Happy hacking 😀