- Python version >= 3.11.x (stable)
- Poetry (Package Manager)
-
Clone Repo
Clone repo to your local machine.
-
Install Dependencies
poetry install
If you want to have a better development experience, it is recommended to use the following commands instead.
poetry install --with dev
-
Update .env file
Insert your discord bot token and universe chat token into
./.env
. Sample file can be found at here.
Then you can launch bot with following command:
poetry shell
python main.py
If you want let bot run on production mode, you can add '-P' (which means production
) to cli args.
poetry shell
python main.py -P
- This will result in the following changes
- Keep the log level at
WARNING
- Disable debug extra init (won't automatically add
Development
cog)
- Keep the log level at
- General
-
hello
- say Hello to user -
info
- show bot's information
-
- Chef
-
chef user
- chef someone -
chef rank
- show chef rank
-
- FAQ
-
faq <question>
- show the faq
-
- Dynamic Voice Channel
- Universe Chat
- Sync message between universe chat and Discord