Ruu3f / freeGPT-discord

Discord chatbot and image generator powered by freeGPT. Now with image detection.

Home Page:https://discord.com/api/oauth2/authorize?client_id=1138826130233765998&permissions=313360&scope=bot%20applications.commands

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

freeGPT-discord

Discord chatbot and image generator powered by freeGPT.

Support this repository:

Getting Started:

  1. Download the Source Code: Start by downloading the bot's source code.

  2. Install Dependencies: Open your terminal and run: pip install -r requirements.txt

  3. Application Setup:

    • Create a new application on the Discord Developer Portal.
    • In the app's settings, enable the message content intent and copy the token.
  4. Get your Huggingface token: Go to huggingface.co/settings/tokens and create a token with 'Read' role and copy it.

  5. Add Your Bot Token and Huggingface Token: Paste the copied tokens in bot.py:

HF_TOKEN = "yourHuggingFaceToken"
TOKEN = "yourBotToken"
  1. Run the Bot: Open your terminal and run: python bot.py