Skip to content

Flufiku/disGrok

Folders and files

NameName
Last commit message
Last commit date

Latest commit

81b39bd · · Mar 13, 2026

History

24 Commits
Jan 23, 2026
Jan 18, 2026
Jan 18, 2026
Mar 13, 2026
Feb 19, 2026
Feb 18, 2026
Feb 19, 2026
Feb 4, 2026
Feb 18, 2026
Mar 11, 2026

Repository files navigation

disGrok

A Discord Bot that acts like the Grok Twitter Bot and can answer questions based on recent messages. It can also search the web for information, provide summaries, and send voice messages.

How to use the Bot:

Image Generation:

  • Use the /gen_image command and write your prompt into the Prompt-Field

Voice Generations:

  • Use the /tts command, choose from the available voices in the Voice-Field and write your prompt into the Prompt-Field
  • Use the /voice_clone command, upload a voice sample in the audio_sample-Field and and write your prompt into the Prompt-Field

Text Generation:

  • Just @ mention the bot. It will reply to your message.

Install Guide

0. Create a Discord Bot

  1. Go to the Discord Developer Portal and create a new application.
  2. Navigate to the "Bot" tab and click "Add Bot".
  3. Copy the bot token and save it for later.
  4. Under "OAuth2" > "URL Generator", select these scopes: s:
    • bot
    • applications.commands
  5. In the same "URL Generator" section, select these Bot Permissions:
    • View Channels
    • Send Messages
    • Read Message History
  6. In the "Bot" tab, enable the Message Content Intent.
  7. Copy the generated URL and use it to invite the bot to your Discord server.

1. Install PyTorch with CUDA Support

If you have an NVIDIA GPU with CUDA support:

pip3 install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu128

2. Install Python Dependencies

pip3 install -r requirements.txt

3. Configuration

Create a .env file with your API keys:

  • HACKCLUB_AI_API_KEY
  • HACKCLUB_SEARCH_API_KEY
  • DISCORD_BOT_TOKEN

4. Run the Bot

python3 main.py

About

A Discord Bot that acts like the Grok Twitter Bot and can answer questions based on recent messages.

Resources

License

Stars

Watchers

Forks

Packages

No packages published