Skip to content

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

License

Notifications You must be signed in to change notification settings

Ruu3f/freeGPT-discord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 

Repository files navigation

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