File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/discord-cluster-manager/cogs Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ async def submit_github(
126126 # TODO: query that gets reference code given leaderboard name
127127 leaderboard_item = db .get_leaderboard (leaderboard_name )
128128 if not leaderboard_item :
129- await interaction .response . send_message (
129+ await interaction .followup . send (
130130 f"Leaderboard { leaderboard_name } not found." , ephemeral = True
131131 )
132132 return
@@ -136,7 +136,7 @@ async def submit_github(
136136 github_cog = self .bot .get_cog ("GitHubCog" )
137137
138138 if not all ([github_cog ]):
139- await interaction .response . send_message ("❌ Required cogs not found!" )
139+ await interaction .followup . send ("❌ Required cogs not found!" )
140140 return
141141
142142 github_command = github_cog .run_github
@@ -181,7 +181,7 @@ async def submit_github(
181181 + f"Runtime: { score } ms\n " ,
182182 )
183183 except ValueError :
184- await interaction .response . send_message (
184+ await interaction .followup . send (
185185 "Invalid date format. Please use YYYY-MM-DD or YYYY-MM-DD HH:MM" ,
186186 ephemeral = True ,
187187 )
You can’t perform that action at this time.
0 commit comments