Home

Awesome

AutoGPT-Discord

A plugin to enable you to control and watch your AutoGPT instance from Discord!

ee

<img width="1470" alt="Screenshot 2023-05-04 at 9 21 15 PM" src="https://user-images.githubusercontent.com/107640947/236398607-5145f9f9-015b-4573-90ac-435dd118ea79.png">

📚 Requirements

  1. Python Package: Install the discord Python package:

pip install discord

  1. Discord Bot Token: Visit the link https://discord.com/developers/docs/getting-started

⚙️ Installation

Follow these steps to configure the AutoGPT Discord Plugin:

1. Clone this Repository

cd into a folder that you can find easily. For example: cd desktop. Then, paste this command: git clone https://github.com/gravelBridge/AutoGPT-Discord.git

2. Navigate to the folder

Navigate to the folder where you ran the cd command

3. Zip the discord_plugin folder

On MacOS, right click the discord_plugin folder and press Compress. On windows, right click the folder, and press Send to > Compressed (zipped).

4. Move the zip file

Move the new discord_plugin.zip file to the AutoGPT plugins directory, there should already be a file there titled __PUT_PLUGIN_ZIPS_HERE__.

🔧 Configuration

  1. Update the .env file: Add the following lines to your .env file:
################################################################################
### DISCORD PLUGIN SETTINGS
################################################################################

DISCORD_BOT_TOKEN=sadfJHo3h4h3heof
AUTHORIZED_USER_IDS=111111,222222,333333
BOT_PREFIX=!
CHANNEL_ID=123456789
ASK_FOR_INPUT=True
  1. Run the bot in continuous mode: Run AutoGPT with the extra argument --continuous
  1. Allowlist Plugin: In your .env file, search for ALLOWLISTED_PLUGINS and add this plugin:
################################################################################
ALLOWLISTED PLUGINS
################################################################################

#ALLOWLISTED_PLUGINS - Sets the listed plugins that are allowed (Example: plugin1,plugin2,plugin3)
ALLOWLISTED_PLUGINS=AutoGPTDiscord

🤖 Commands

Remember to use your bot prefix directly before running any commands!

Shoutout to @CTHULHUCTHULHU for reworking most of the plugin, really amazing work <3

🚀 That's it! Congratulations!

Make sure to leave a star on this repository! Thank you!