Skip to content

e4c6/DiscordGPT-3

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
June 5, 2021 10:50
June 4, 2021 14:31
June 4, 2021 14:31
June 4, 2021 14:31
June 4, 2021 14:31
June 4, 2021 14:31
April 23, 2021 11:05
June 2, 2021 05:16
June 4, 2021 14:31
June 4, 2021 14:31
June 4, 2021 14:31

Discord GPT-3 Bot

This bot communicates with OpenAI API to provide users with Q&A, completion, sentiment analysis, emojification and various other functions.

Behold, GPT-3!

Main features:

  • Q&A
  • Completion
  • Emojification
  • Sentiment Analysis
  • Sarcastic Q&A
  • Foulmouth Q&A
  • Song Generation (lyrics)
  • Headline Generation

It also features:

  • per user temperature/language settings
  • owner controlled server-wide response length limit
  • built-in customizable allowance system so the server owners can limit user activity.
  • built-in vip system so the server owners can exclude members from allowance system.

If you enjoy this bot consider donating via BTC address: 14ozvJYfChmiXwqhfzH4yCqcYR7gzwfVYT

Click here to add it to your server.

Note: You need a GPT-3 beta API key to be able to use this bot. See here for details.

Standalone Installation

  • Tested with Python 3.8
  • A Mongo DB instance is required

Set the following environment variables and run python3 bot.py:

  • DISCORD_TOKEN=<YOUR BOT API TOKEN>
  • MONGO_DBUSER=<MONGO DATABASE USER>
  • MONGO_DBPASS=<MONGO DATABASE USER PASSWORD>
  • MONGO_HOST=<MONGO DATABASE HOST IP>
  • MONGO_PORT=<MONGO DATABASE HOST PORT>
  • MONGO_DBNAME=<MONGO DATABASE NAME>

Docker Installation

run docker-compose -f docker-compose.yml -f docker-compose.override.yml up -d inside the directory.

About

OpenAI api integration for a discord bot with completion and q&a functionality.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published