wow-token-app-bot

An interactions.py Discord bot for getting and alerting on the WoW Token Price
git clone https://git.emily.sh/wowtoken-app/wow-token-app-bot.git
Log | Files | Refs | README | LICENSE

commit 28fbdab904e13476b4fc38e445500835da37ee71
parent 4cb9d4ab7000afb4fb87ae6e207e2bb147967af6
Author: Emily Doherty <git@emily.sh>
Date:   Wed, 28 Jan 2026 18:17:52 -0800

Fix listing of alerts

Diffstat:
Mtoken_bot/core.py | 2+-
Mtoken_bot/tracker.py | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/token_bot/core.py b/token_bot/core.py @@ -8,7 +8,7 @@ from interactions.api.events import Startup from token_bot.token_database import database as pdb from token_bot.token_database import database as tdb -VERSION = "0.9.10" +VERSION = "0.9.11" class Core(Extension): diff --git a/token_bot/tracker.py b/token_bot/tracker.py @@ -561,7 +561,7 @@ class Tracker(Extension): for alert in alerts: history = self._history_manager.get_history(alert.flavor, alert.region) trigger = await history.find_update_trigger_from_alert(alert) - if trigger.last_trigger is not None: + if trigger.last_alerting is not None: alert_str = ( f"Last Alerting Price Value: {format(trigger.last_alerting[1], ",")}\n" f"Last Alerting Time: <t:{int(trigger.last_alerting[0].timestamp())}:F> local time\n"