A Discord bot to run an economy written in Python with interactions.py!
- Ensure you are running Python 3.9 or higher. (Only tested on 3.9)
- Install the MongoDB community server.
- Clone the repo.
- Create a Discord application and a Discord bot.
- Generate an OAuth2 URL to invite your bot to a server. (Make sure the bot
has
bot
andapplications.commands
scopes!) - Install dependencies in
requirements.txt
. - Fill in the contents of
example.env
and rename it to.env
.
/balance (member: User)
/bet
coin_flip <amount: Integer [>= 1]> <side: String ["heads"] ^^ ["tails"]>
dice_roll <amount: Integer [>= 1]> <side: Integer [>= 1] && [<= 6]>
wheel <amount: Integer [>= 1]>
/claim
hourly
daily
monthly
/github
/send <member: User> <amount: Integer >= 1>
/ denotes slash command
<tab> denotes sub command
<> denotes required arguments
() denotes optional arguments
[] denotes condition
&& denotes both conditions must be satisfied
|| denotes at least one condition must be satisfied
^^ denotes exactly one condition must be satisfied