A feature-rich Discord bot designed for Path of Exile players. It includes a complete gambling ledger system to track wins and losses (Divines/Mirrors), dynamic economy statistics fetched directly via the poe.ninja API, interactive UI components (buttons) for vendor recipes, and an integrated aiohttp web server that exposes data as a REST API.
- ๐ Gambling Ledger: Tracks individual server members' winnings, losses, and overall profit/loss standings using a local JSON database.
- ๐ High-scores: Dynamic leaderboard highlighting the biggest losers on the server (
!toplosers). - ๐ธ Live Economy Tracker: Real-time data visualization for key currencies and the top 5 most expensive Divination Cards using the poe.ninja API.
- ๐ฆ Interactive UI: Clean Discord UI Buttons to seamlessly browse through extensive in-game Vendor Recipes.
- โ๏ธ Build Showcasing: Allows players to link, describe, list, and delete their Path of Exile build profiles.
- ๐ Integrated Web Server: Asynchronous background web server serving a frontend dashboard and exposing static endpoints for dynamic integration.
!lost <amount>โ Records your gambling losses (e.g.,!lost 100d,!lost 1m and 50d).!win <amount>โ Records your gambling winnings (e.g.,!win 200d,!win 2m).!statsโ Displays your personal statistics, history, and calculated profit margin status.!toplosersโ Prints a leaderboard showcasing the server's biggest losses.!gambling <amount>โ A standalone, high-stakes Harvest card crafting simulator.
!cardsโ Lists the Top 5 most expensive Divination Cards in the current league.!currencyโ Shows real-time exchange rates for Mirror of Kalandra, Divine Orbs, Hinekora's Lock, and Mirror Shards.!vendorโ Launches an interactive, button-based guide for currency, flask, gem, map, and equipment vendor recipes.!setbuild <link> [| description]โ Saves your personal PoB or PoE.ninja build profile.!buildsโ Opens a catalog containing links to all registered players' character builds.!delbuildโ Deletes your saved character build from the database.
!clear <number/all>โ Utility tool to purge messages (requiresManage Messagespermission).
- pip install discord.py aiohttp python-dotenv
- python bot.py