File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -111,12 +111,12 @@ def __init__(self,
111111 self .logger = logger
112112 self .selected_interval : str | None = None
113113
114- @button (label = "Skip" , style = ButtonStyle .red ) # type: ignore
114+ @button (label = "Skip" , style = ButtonStyle .red , custom_id = "cancel-interval-select" ) # type: ignore
115115 async def cancel_button (self , interaction : Interaction , button : Button ):
116116 await interaction .response .send_message ("Skipped!" , ephemeral = True )
117117 self .stop ()
118118
119- @button (label = "Submit" , style = ButtonStyle .green ) # type: ignore
119+ @button (label = "Submit" , style = ButtonStyle .green , custom_id = "submit-interval-select" ) # type: ignore
120120 async def submit_button (self , interaction : Interaction , button : Button ):
121121 if self .selected_interval is None :
122122 await interaction .response .send_message (
You can’t perform that action at this time.
0 commit comments