Project

AEON-BOT

Year
2025
Stack
discord / rust / sqlite
aeon-bot: voice stats
VOICE STATS
aeon-bot: tic-tac-toe against the bot
TIC-TAC-TOE AGAINST THE BOT
aeon-bot: blackjack
BLACKJACK

A Discord bot that turns time in voice channels into points, with games to spend them on.

aeon-bot tracks how long each member spends in a Discord server’s voice channels and awards a point a minute, with a leaderboard, ranks, and per-member stats, like points and total time.

Points earned can be spent on various in-built games. For example, Tic-Tac-Toe is played against a bot that learns by Q-learning, with its policy kept in SQLite so it keeps improving across restarts, through four tiers from Novice to Expert that pay more as it gets harder. Players can also challenge each other for a wager while others bet on the result. Another game is to play blackjack against the dealer, alone or at a shared table, with standard rules and betting.

It is written in Rust with poise on serenity, and sqlx over SQLite.

Personal thoughts

This was one of my first projects, started as a way to learn Rust. It was also my first time writing a bot for Discord, and I learnt a lot about the Discord API and how to structure a bot with commands, events, and state. I also learnt about SQLite and how to use it with Rust, as well as how to implement a simple Q-learning algorithm for the Tic-Tac-Toe game. Overall, this project was a great learning experience and a welcome addition to my Discord server.