Add defer to /flows
This commit is contained in:
parent
43a574ed1d
commit
59d8d28f08
@ -305,8 +305,9 @@ class Cheeky(commands.Cog):
|
|||||||
async def flows(self, ctx: commands.Context):
|
async def flows(self, ctx: commands.Context):
|
||||||
import river_stats
|
import river_stats
|
||||||
|
|
||||||
|
await ctx.defer()
|
||||||
result = river_stats.get_stats()
|
result = river_stats.get_stats()
|
||||||
await ctx.respond(embed=result)
|
await ctx.send_followup(embed=result)
|
||||||
|
|
||||||
@commands.slash_command(
|
@commands.slash_command(
|
||||||
guild_ids=None,
|
guild_ids=None,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user