Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/anand2312/crajybot

A small Discord bot
https://github.com/anand2312/crajybot

discord-bot prisma python sqlite

Last synced: 3 months ago
JSON representation

A small Discord bot

Awesome Lists containing this project

README

        

# Crajy Bot
A Discord Bot.

[Invite link](https://discord.com/api/oauth2/authorize?client_id=709407268487037019&permissions=414464673856&scope=applications.commands%20bot)

## Development
### Requirements
- Python >= 3.10
- Poetry

### Setting up
- Run `poetry install` to install dependencies
- Run `prisma db push` to create the SQLite database
- Add constants:
- add the bot token as a constant named `TOKEN` in `secret/TOKEN.py`
- add the ID of the testing server as a constant named `BOT_TEST_SERVER` in `secret/constants.py`
- add the ID of the testing channel as a constant named `BOT_TEST_CHANNEL` in `secret/constants.py`

### Running
`python manage.py` -> Runs the bot and attempts to load all extensions \
`python manage.py --exts ext1 ext2 ext3` -> Runs the bot and only loads `ext1`, `ext2`, `ext3`