Skip to content

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

Notifications You must be signed in to change notification settings

Zenofex/GPT-Discord-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages