Add commands tables to databases.md

pull/58/head
Stijn De Clercq 2021-05-17 20:16:12 +02:00
parent 4bcd00826e
commit 3cd2456bbf
1 changed files with 16 additions and 0 deletions

View File

@ -40,6 +40,22 @@ Used in all Currency commands (Dinks, Bank, Bitcoin, Gambling, ...)
9 nightly: integer, default 0 | The timestamp when the user last claimed their Nightly
10 nightly_streak: integer, default 0 | The user's current Nightly Streak
### custom_commands
Used to store custom commands that replace Dyno.
0 id: integer, auto-increment, unique, primary key | The id of the command
1 name: text, unique | The name of the command
2 response: text | The response sent when the command is used
### custom_command_aliases
Used to store aliases for custom commands.
0 id: integer, auto-increment, unique, primary key | The id of the alias
2 command: integer | The id of the command this alias is for
3 alias: text | The name of the alias
### dad_jokes
Used in fun.py - Dadjoke command.