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 130406786f4a0f7995e0546d93dcc0279e6735e0
parent 5a2e183ccdad2d6d125f02f35681e0e0fc4b56fa
Author: Emily Doherty <git@emily.sh>
Date:   Tue,  3 Dec 2024 04:11:30 -0800

Fix Enum conversion for ATH and ATL strings

Diffstat:
Mtoken_bot/persistant_database/alert_type.py | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/token_bot/persistant_database/alert_type.py b/token_bot/persistant_database/alert_type.py @@ -32,5 +32,9 @@ class AlertType(Enum): return AlertType.YEARLY_HIGH case "Yearly Low": return AlertType.YEARLY_LOW + case "All Time High": + return AlertType.ALL_TIME_HIGH + case "All Time Low": + return AlertType.ALL_TIME_LOW case _: return AlertType.SPECIFIC_PRICE \ No newline at end of file