Skip to content

A Discord Bot integrated with ChatGPT to chat and stream YouTube urls.

License

Notifications You must be signed in to change notification settings

cosums/DiscordGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DiscordGPT

A Discord Bot integrated with ChatGPT to chat and also stream YouTube urls.

Features

  • Responds to user messages in Discord channels using !chat.
  • Keeps a log of previous conversation history local to each channel.
  • Ability to join discord calls and stream YouTube urls for playback.

Installation

Clone the repository:

https://github.com/csummerson/DiscordGPT.git

Install dependencies:

pip install -r requirements.txt

Install FFMPEG

Settings

In settings.toml, input your

  • Discord Token
  • OpenAI API Key
  • Owner ID (to limit use of /destroy)

Also make sure to give the bot

  • A status
  • Personality prompt

Running

py bot.py

History

This was a project originally started in around 2022, when I wanted to try and create something to integrate with AI. After originally trying to make it with C# (my most comfortable language), I later shifted over to python due to better libraries and ease of use. I also use a different version of this bot to watch my YouTube and Twitch channels and send notifications to specific channels in discord servers, though this functionality has been cut since it is unlikely to be useful to someone wanting a Discord bot.

About

A Discord Bot integrated with ChatGPT to chat and stream YouTube urls.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages