Once and for all reformat.

Will be using black code formatter
This commit is contained in:
2024-12-08 17:07:26 -08:00
parent 3a06464c29
commit 34badf17eb
25 changed files with 359 additions and 295 deletions

View File

@@ -1,67 +1,45 @@
from interactions import Button, ButtonStyle
ATH_ADD_BUTTON = Button(
custom_id='ath_add_button',
style=ButtonStyle.GREEN,
label="All Time High"
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"
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"
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"
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"
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"
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"
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"
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"
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"
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"
custom_id="sp_add_button", style=ButtonStyle.GRAY, label="Custom Limit Price"
)

View File

@@ -1,19 +1,13 @@
from interactions import Button, ButtonStyle
HIGH_ALERT_BUTTON = Button(
custom_id='high_alert_button',
style=ButtonStyle.GREEN,
label="High Price Alert"
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_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"
custom_id="sp_add_button", style=ButtonStyle.GRAY, label="Custom Price Alert"
)

View File

@@ -1,19 +1,13 @@
from interactions import Button, ButtonStyle
HIGH_ALERT = Button(
custom_id='high_alert_button',
style=ButtonStyle.GREEN,
label="Add High Alert"
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_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"
)
custom_id="custom_alert_button", style=ButtonStyle.GRAY, label="Add Custom Alert"
)