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

alert_menu.py (525B)


      1 from interactions import StringSelectMenu
      2 
      3 HIGH_ALERT_MENU = StringSelectMenu(
      4     "Daily High",
      5     "Weekly High",
      6     "Monthly High",
      7     "Yearly High",
      8     "All Time High",
      9     placeholder="Select a time period",
     10     min_values=1,
     11     max_values=1,
     12     custom_id="high_alert_menu",
     13 )
     14 
     15 LOW_ALERT_MENU = StringSelectMenu(
     16     "Daily Low",
     17     "Weekly Low",
     18     "Monthly Low",
     19     "Yearly Low",
     20     "All Time Low",
     21     placeholder="Select a time period",
     22     min_values=1,
     23     max_values=1,
     24     custom_id="low_alert_menu",
     25 )