Very Initial MVP
There is so much more to do, but I think it is time to commit this to VCS
This commit is contained in:
67
token_bot/ui/buttons/tracker/add.py
Normal file
67
token_bot/ui/buttons/tracker/add.py
Normal file
@@ -0,0 +1,67 @@
|
||||
from interactions import Button, ButtonStyle
|
||||
|
||||
ATH_ADD_BUTTON = Button(
|
||||
custom_id='ath_add_button',
|
||||
style=ButtonStyle.GREEN,
|
||||
label="All Time High"
|
||||
)
|
||||
|
||||
ATL_ADD_BUTTON = Button(
|
||||
custom_id='atl_add_button',
|
||||
style=ButtonStyle.RED,
|
||||
label="All Time Low"
|
||||
)
|
||||
|
||||
DH_ADD_BUTTON = Button(
|
||||
custom_id='dh_add_button',
|
||||
style=ButtonStyle.GREEN,
|
||||
label="Daily High"
|
||||
)
|
||||
|
||||
DL_ADD_BUTTON = Button(
|
||||
custom_id='dl_add_button',
|
||||
style=ButtonStyle.RED,
|
||||
label="Daily Low"
|
||||
)
|
||||
|
||||
WH_ADD_BUTTON = Button(
|
||||
custom_id='wh_add_button',
|
||||
style=ButtonStyle.GREEN,
|
||||
label="Weekly High"
|
||||
)
|
||||
|
||||
WL_ADD_BUTTON = Button(
|
||||
custom_id='wl_add_button',
|
||||
style=ButtonStyle.RED,
|
||||
label="Weekly Low"
|
||||
)
|
||||
|
||||
MH_ADD_BUTTON = Button(
|
||||
custom_id='mh_add_button',
|
||||
style=ButtonStyle.GREEN,
|
||||
label="Monthly High"
|
||||
)
|
||||
|
||||
ML_ADD_BUTTON = Button(
|
||||
custom_id='ml_add_button',
|
||||
style=ButtonStyle.RED,
|
||||
label="Monthly Low"
|
||||
)
|
||||
|
||||
YH_ADD_BUTTON = Button(
|
||||
custom_id='yh_add_button',
|
||||
style=ButtonStyle.GREEN,
|
||||
label="Yearly High"
|
||||
)
|
||||
|
||||
YL_ADD_BUTTON = Button(
|
||||
custom_id='yl_add_button',
|
||||
style=ButtonStyle.RED,
|
||||
label="Yearly Low"
|
||||
)
|
||||
|
||||
SP_ADD_BUTTON = Button(
|
||||
custom_id='sp_add_button',
|
||||
style=ButtonStyle.GRAY,
|
||||
label="Custom Limit Price"
|
||||
)
|
||||
19
token_bot/ui/buttons/tracker/alert_category.py
Normal file
19
token_bot/ui/buttons/tracker/alert_category.py
Normal file
@@ -0,0 +1,19 @@
|
||||
from interactions import Button, ButtonStyle
|
||||
|
||||
HIGH_ALERT_BUTTON = Button(
|
||||
custom_id='high_alert_button',
|
||||
style=ButtonStyle.GREEN,
|
||||
label="High Price Alert"
|
||||
)
|
||||
|
||||
LOW_ALERT_BUTTON = Button(
|
||||
custom_id='low_alert_button',
|
||||
style=ButtonStyle.RED,
|
||||
label="Low Price Alert"
|
||||
)
|
||||
|
||||
CUSTOM_ALERT_BUTTON = Button(
|
||||
custom_id='sp_add_button',
|
||||
style=ButtonStyle.GRAY,
|
||||
label="Custom Price Alert"
|
||||
)
|
||||
19
token_bot/ui/buttons/tracker/registration.py
Normal file
19
token_bot/ui/buttons/tracker/registration.py
Normal file
@@ -0,0 +1,19 @@
|
||||
from interactions import Button, ButtonStyle
|
||||
|
||||
HIGH_ALERT = Button(
|
||||
custom_id='high_alert_button',
|
||||
style=ButtonStyle.GREEN,
|
||||
label="Add High Alert"
|
||||
)
|
||||
|
||||
LOW_ALERT = Button(
|
||||
custom_id='low_alert_button',
|
||||
style=ButtonStyle.RED,
|
||||
label="Add Low Alert"
|
||||
)
|
||||
|
||||
CUSTOM_ALERT = Button(
|
||||
custom_id='custom_alert_button',
|
||||
style=ButtonStyle.GRAY,
|
||||
label="Add Custom Alert"
|
||||
)
|
||||
Reference in New Issue
Block a user