Discord Bot app plugin for Project J.A.I.son. Can text and chat in voice call.
This project was tested on python3.12
- Create and activate your virtual environment using
conda
orvenv
. - Install dependencies
pip install -r requirements.txt
- Setup Discord bot. Ensure your bot has the right OAuth2 permissions when it joins your server (Scope -> Bot, Bot Permissions -> Administrator if unsure). Invite your bot to your server.
- Setup
.env
file following.env-template
. You can find you Discord Bot token after creating a bot as shown below:
- Setup
config.yaml
to where jaison-core is running.jaison-api-endpoint
should start withhttp(s)://
andjaison-ws-endpoint
withws://
. If not on Windows, add the filepath to libopus inconfig.yaml
.
After setting things up, you can simply run python ./src/main.py
For runtime options, run python ./src/main.py --help
Texting works like texting a friend. As long as the bot can see the channel, they will respond.
Have the bot join the channel using /join_vc
. Have them leave using /leave_vc
. Talking is also like talking to a friend. No need to time recordings, just talk and wait.
Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
Project J.A.I.son: https://github.com/limitcantcode/jaison-core
Join the community Discord: https://discord.gg/Z8yyEzHsYM