Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/harrislapiroff/wronggpt


https://github.com/harrislapiroff/wronggpt

Last synced: 1 day ago
JSON representation

Awesome Lists containing this project

README

        

WrongGPT
========

WrongGPT is a GPT-powered chatbot that tries to answer questions and prompts incorrectly. It's pretty fun and humorous.

Prerequisites
-------------

Running WrongGPT requires [Poetry](https://python-poetry.org/). You can install it with `pip install poetry`.

Usage
-----

To use WrongGPT:

1. Clone this repository.

2. Install the requirements with `poetry install`.

3. Recommended: Set up environment variables

a. Install the poetry dotenv plugin with `poetry self add poetry-dotenv-plugin`. You could use a different method to load environment variables, but this is the easiest.

b. Create a `.env` file in the root of the repository with the following contents:

```dotenv
DISCORD_BOT_TOKEN=your_discord_token
OPENAI_API_KEY=your_openai_api_key
DISCORD_DM_ALLOWLIST="comma,separated,list,of,users"
```

4. Run the bot with `poetry run bot`.

If you need an OpenAI API key, you can get one [here](https://platform.openai.com/account/api-keys).

If you need a Discord bot token, you can get one [here](https://discord.com/developers/applications). Create a new application, then create a bot user and copy the token.