Skip to content

UnsignedArduino/CurrencyBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CurrencyBot

A Discord bot to run an economy written in Python with interactions.py!

Install

  1. Ensure you are running Python 3.9 or higher. (Only tested on 3.9)
  2. Install the MongoDB community server.
  3. Clone the repo.
  4. Create a Discord application and a Discord bot.
  5. Generate an OAuth2 URL to invite your bot to a server. (Make sure the bot has bot and applications.commands scopes!)
  6. Install dependencies in requirements.txt.
  7. Fill in the contents of example.env and rename it to .env.

Run

  1. Run main.py in the src directory.

Command overview

/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

About

A economy Discord bot written in Python with interactions.py

Topics

Resources

Stars

Watchers

Forks