GithubHelp home page GithubHelp logo

zenofex / gpt-discord-bot Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 1.0 47 KB

A discord bot (in a docker container) with a few prompts to jailbreak OpenAI's GPT3.5-Turbo model.

Dockerfile 0.56% Shell 0.57% Python 98.87%

gpt-discord-bot's Introduction

GPT-Discord-Bot

A docker based Discord OpenAI chat-gpt bot with DALL-E 2 support and multiple integrated jailbreak prompts.

Installation

Requirements

Discord API Key

Follow the below tutorial to create a discord bot and obtain a free API key.

Open AI API Key

Create an account and retrieve a API key from:

Stability.ai API Key

Create an account and retrieve a API key from:

Docker

Download and install docker:

The guild id value needed for the bot can be retrieved by right clicking on the server name in discord and clicking "Copy Server ID".

Running

Retrieve a discord and Open AI API key, then input both into the "run-template.sh" file. Finally, run the modified file.

Message Usage

The bot now uses the "slash command" discord bot model for usage with functionality being accessed through typing a slash and then an available command.

/chatgpt

Uses the openai chat-gpt api to retrieve an answer to the provided prompt.

/sudo

Adds prompt as system role and sends to chat-gpt with previous summaries as context.

/youdo

Adds prompt as assistant role and stores in message context for later requests.

/code

Adds prompt to receive long messages and removes normal safeguards for a source code request without previous message summaries as context.

/jb

Adds prompt to disable normal ethical safeguards and sends request without previous message summaries as context.

/hacker

Adds prompt to disable safeguards and to reply with an unhinged response without remorse or ethics without previous message summaries as context.

/dalle

Uses the DALLE api to request an AI generated image.

/stablediffusion <cfg_scale> <guidance_preset>

Uses the Stable Diffusion api to request an AI generated image.

gpt-discord-bot's People

Contributors

0x4d5352 avatar zenofex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

0x4d5352

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.