- Current implementation is in FreshBot.py and is a work in progress.
- User commands are in commands.py.
- ChatGPT in chatGPT.py is a chatBot that is semi functional.
- music.py is sourced from here: https://gist.github.com/EvieePy/ab667b74e9758433b3eb806c53a19f34 however it has been modified due to changes in youtube metadata.
- Can play youtube videos and playlists. Also can search for songs.
- Has chatting features utilizing chatGPT API.
- Code has been converted from discord.client -> discord.bot -> discord.bot Interactions for better command functionality.
- responses.py is now redundant, but there for legacy reasons.
- Python
- All requirements in requirements.txt
- FFmpeg (This must be done manually as the requirements.txt has it, but will not work)
-
If you don’t have Python installed, install it from here.
-
Clone this repository.
-
Navigate into the project directory:
cd FRESHBOT -
Create a new virtual environment:
python -m venv venv . venv/bin/activate -
Install the requirements:
pip install -r requirements.txt
-
Make a copy of the example environment variables file:
cp .env.example .env
-
Add your API key to the newly created
.envfile. -
Run the app using python or python3 depending on your system:
python FreshBot.py