This is a Discord bot built with discord.py. It includes several commands for Trading 212 API. (This is my very first discord bot and i will be playing around with this to learn new stuff as i go)
!set_interval <minutes>
: Sets the interval for the portfolio loop.!start_portfolio
: Starts the portfolio loop.!stop_portfolio
: Stops the portfolio loop.!send_portfolio
: Sends the portfolio.!send_account
: Sends info about your account
- Clone this repository.
- Install the required dependencies with
pip install -r requirements.txt
. - Set up your environment variables in a
.env
file. You'll need to setBOT_TOKEN
,AUTHORIZATION
, andCHANNEL_ID
. - Run the bot with
python main.py
.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.