Giter Site home page Giter Site logo

teehanming / discordgpt-3 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from e4c6/discordgpt-3

0.0 0.0 0.0 65 KB

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

License: MIT License

Python 99.64% Dockerfile 0.36%

discordgpt-3's Introduction

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.

discordgpt-3's People

Contributors

e4c6 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.