GhosttyBot is a Discord bot designed specifically for the Ghostty community. Ghostty is a brand new terminal emulator currently in closed beta, and this bot helps manage the frequent requests for beta invites.
The bot is built to alleviate the annoying factor on the developer and mod team by automatically handling questions about beta invites in the Discord server. It monitors a specific channel for messages containing the word "invite" and responds with a redirect to the information channel. Added Ollama support to analyze the intent of the users message as sometimes there is a general question about the invite process instead of a request for an invite.
-
Clone this repository to your local machine.
-
Copy the
.env-example
file to a new file named.env
:cp .env-example .env
-
Open the
.env
file and replace the placeholder values with your actual Discord bot token:DISCORD_BOT_TOKEN=your_bot_token_here
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the bot:
python bot.py
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.