Hux is a custom Discord bot built for the Hojects Discord server. It's main feature is being able to run code in a sandboxed environment.
- Server and user information via
/info
- Fast ping check
- Simple fun commands (
/hello, /meow, /hog)
- Search users and repositories.
- Create, edit and delete snippets
- Lock/unlock snippets to prevent modification
Run code from:
- Python
- Go
- Brainfuck
- Rust
- C
- C++
- C#
- Python 3.14+
- A Discord bot token
- uv
# Clone the repository
git clone https://github.com/Saber0324/hux
cd hux
# Install dependencies
uv sync
# Create your .env file
echo "TOKEN=your_token_here" > .env
# Run the bot
uv run hux
| Command |
Description |
/info ping |
Check bot latency |
/info user @user |
Get user information |
/info server |
Get server information |
/role info @role |
Get role information |
| Command |
Description |
/github user <name> |
Search for a github user |
/github repo <name> |
Search for a github repository |
| 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 |
|