economy-bot-discord.py
economy-bot-discord.py copied to clipboard
A economy bot - discord; made in python language. Databases used MySQL, SQLite, aiosqlite and mongoDB
Economy Bot Discord
• Supports py-cord, discord.py, nextcord
• In this project you will find different code examples of economy bot with various databases.
• This module makes the process a lot easier !
Join Official Discord Server for more guidance !
Table of Contents
• Economy with MySQL
• Economy with SQLite3
• Economy with AioSQLite
• Economy with MongoDB
To create a Discord bot using discord.js, go to economy-bot-discord.js
Thanking JetBrains for Their Support and Assistance
jetbrains.com Once again thank you 💝 for providing me free OSS License.
These IDE(s) made things a lot easier for us:
•
WebStorm - The smartest JavaScript IDE
•
PyCharm Professional - Python IDE for professional developers
Running the bot
Follow the instructions provided in README.md file in each of the database directories.
Like: economy with SQLITE3
List of Bot Commands
$ is the default command prefix
• Bank commands
| Name | Aliases | Args | Usage |
|---|---|---|---|
| balance | bal | member | $bal <member: optional> |
| deposit | dep | amount | $dep <amount> |
| withdraw | with | amount | $with <amount> |
| send | --- | member, amount | $send <member> <amount> |
| leaderboard | lb | None | $lb |
• Shop commands
| Name | Aliases | Args | Usage |
|---|---|---|---|
| shop | --- | None | $shop |
| shop info | --- | item_name | $shop <item name> |
| buy | --- | item_name | $buy <item name> |
| sell | --- | item_name | $sell <item name> |
| inventory | inv | member | $inv <member: optional> |
• Economy commands
| Name | Aliases | Args | Usage | Cooldown (in days) |
|---|---|---|---|---|
| daily | --- | None | $daily |
1 |
| weekly | --- | None | $weekly |
7 |
| monthly | --- | None | $monthly |
30 |
• Admin commands 
| Name | Aliases | Args | Usage |
|---|---|---|---|
| add_money | addmoney | member, amount, mode | $addmoney <member> <amount> <mode: optional> |
| remove_money | remoney | member, amount, mode | $remoney <member> <amount> <mode: optional> |
| reset_user | --- | member | $reset_user <member> |
Note:
If your bot is not intended for public use(personal bot) and is only meant to be used on one or two servers that you
own,
you can add these admin commands.
However, if your bot is publicly available for anyone to add to their server,
it is not recommended to include these admin commands.
• Fun commands
| Name | Aliases | Args | Usage |
|---|---|---|---|
| coin_flip | cf, coinflip | bet_on, amount | $cf <bet_on> <amount> |
| slots | --- | amount | $slots <amount> |
| dice | --- | amount, bet_on | $dice <amount> <bet_on: optional> |
New bot commands will be added shortly ...