Skip to content

Mattyfreshy/FreshBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

258 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FreshBot

  • 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.

Key Features

  • Can play youtube videos and playlists. Also can search for songs.
  • Has chatting features utilizing chatGPT API.

Updates

  • 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.

Requirements

  • Python
  • All requirements in requirements.txt
  • FFmpeg (This must be done manually as the requirements.txt has it, but will not work)

Setup

  1. If you don’t have Python installed, install it from here.

  2. Clone this repository.

  3. Navigate into the project directory:

    cd FRESHBOT
  4. Create a new virtual environment:

    python -m venv venv
    . venv/bin/activate
  5. Install the requirements:

    pip install -r requirements.txt
  6. Make a copy of the example environment variables file:

    cp .env.example .env
  7. Add your API key to the newly created .env file.

  8. Run the app using python or python3 depending on your system:

    python FreshBot.py

About

Code for Fresh Discord bot that includes the media player and chatbot features.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages