File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
ballsdex/packages/countryballs Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,14 @@ async def on_timeout(self):
146146 @button (style = discord .ButtonStyle .primary , label = "Catch me!" )
147147 async def catch_button (self , interaction : discord .Interaction ["BallsDexBot" ], button : Button ):
148148 if self .caught :
149- await interaction .response .send_message ("I was caught already!" , ephemeral = True )
149+ slow_message = settings .get_random_message (PromptMessage .PromptType .SLOW ).format (
150+ user = interaction .user .mention ,
151+ collectible = settings .collectible_name ,
152+ ball = self .name ,
153+ collectibles = settings .plural_collectible_name ,
154+ emoji = interaction .client .get_emoji (self .model .emoji_id ),
155+ )
156+ await interaction .response .send_message (slow_message , ephemeral = True )
150157 else :
151158 await interaction .response .send_modal (CountryballNamePrompt (self ))
152159
You can’t perform that action at this time.
0 commit comments