HuxBot is a custom Discord bot built for the Hojects Discord server. It's main feature is being able to run code from a command. It can also handle basic moderation, information and has a basic snippet system.
- Kick, timeout and untimeout members
- Role management (
add / remove)
- Warning system
- Server, user and role information via
!info
- Fast ping check
- Simple fun commands (
!hello, !meow, !hog)
- List active projects and their repositories
- Fetch latest releases
- Create, edit and delete snippets
- Lock/unlock snippets to prevent modification
- List all snippets or filter by author
Run code from:
- Python 3.14+
- A Discord bot token
# Clone the repository
git clone https://github.com/Saber0324/projects-bot
cd projects-bot
# Create and activate virtual environment
python -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate.ps1
# Install dependencies
pip install -r requirements.txt
# Create your .env file
echo "TOKEN=your_token_here" > .env
# Run the bot
python main.py
| Command |
Description |
!ping |
Check bot latency |
!info user @user |
Get user information |
!info server |
Get server information |
!info role @role |
Get role information |
| Command |
Description |
!hello |
Say hello |
!meow |
Meow back |
!hog |
All hail |
!say <text> |
Make the bot say something |
| Command |
Description |
!kick @user [reason] |
Kick a member |
!timeout @user <minutes> [reason] |
Timeout a member |
!untimeout @user |
Remove timeout |
!role add @user role |
Add a role |
!role remove @user role |
Remove a role |
!warn @user |
Warns an user |
!warn list @user |
Displays all warns from an user |
!warn delete <warn id> |
Deletes a warn |
| Command |
Description |
!projects list |
List all projects |
!projects release <name> |
Get latest release link |
| Command |
Description |
!eval |
Display correct usage information |
!eval <code> |
Runs the provided code and return the output |
| Command |
Alias |
Description |
!snippet <title> |
Retrieve a snippet |
|
!snippet add <title> <desc> |
Create a snippet |
|
!snippet edit <title> <desc> |
Edit your snippet |
|
!snippet delete <title> |
Delete a snippet |
|
!snippet lock <title> |
Lock a snippet |
|
!snippet unlock <title> |
Unlock a snippet |
|
!snippet list |
List all snippets |
|
!snippet author @user |
List snippets by user |
|
Made with 🩷 for Hog Projects