registration.py (366B)
1 from interactions import Button, ButtonStyle 2 3 HIGH_ALERT = Button( 4 custom_id="high_alert_button", style=ButtonStyle.GREEN, label="Add High Alert" 5 ) 6 7 LOW_ALERT = Button( 8 custom_id="low_alert_button", style=ButtonStyle.RED, label="Add Low Alert" 9 ) 10 11 CUSTOM_ALERT = Button( 12 custom_id="custom_alert_button", style=ButtonStyle.GRAY, label="Add Custom Alert" 13 )