Quick and dirty How To Run:
Caution
Having venv set up is probably recommended, considering that this project uses py-cord and not discord.py. Also use this code at your own risk.
- Download the repository to your computer locally.
- Create a venv for the project.
- Do
pip install -r requirements.txt
to install all of the requirements neccessary. - Create a
.env
file and fill it with the following information:
CLIENT_TOKEN=YOURTOKENHERE
GUILD_IDS="[YOUR,GUILD,IDS,HERE]"
ADMIN_IDS="[YOUR,ADMIN,IDS,HERE]"
DB="yourdb.db"
DBX_TOKEN="YOUR_DBX_APP_TOKEN"
- Run
python bot.py
. - ????
- You have SantaBot up and running! Hopefully.
If you intend to use or work on Dropbox link downloading, you need to create a new app to get your access token.
- Go to this page to set up a new app on Dropbox.
- Select Scoped access -> Full Dropbox and give your app a name, then click
Create app
. - On the app's dashboard, under the Settings tab, generate an access token under
Generated access token
and put that in the .env. - Go to the Permissions tab and set the
sharing.read
permission to on. Sorry lol
Warning
This code is provided as-is. If you need help running the bot, please open an issue as that will be the fastest way for me to see it.