Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

390 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hux

Python discord.py License Discord

The official bot for the Hogjects Discord server.


About

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.


Features

Info

  • Server and user information via /info
  • Fast ping check

Fun

  • Simple fun commands (/hello, /meow, /hog)

GitHub

  • Search users and repositories.

Snippets

  • Create, edit and delete snippets
  • Lock/unlock snippets to prevent modification

Eval

Run code from:

  • Python
  • Go
  • Brainfuck
  • Rust
  • C
  • C++
  • C#

Setup

Prerequisites

  • Python 3.14+
  • A Discord bot token
  • uv

Installation

# 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

Commands

Information

Command Description
/info ping Check bot latency
/info user @user Get user information
/info server Get server information
/role info @role Get role information

Projects

Command Description
/github user <name> Search for a github user
/github repo <name> Search for a github repository

Eval

Command Description
!eval Display correct usage information
!eval <code> Runs the provided code and return the output

Snippets

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

About

Bot for the Hogjects discord server

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages