Defer dale to avoid shit breaking

This commit is contained in:
Luke Robles 2023-08-16 11:39:05 -07:00
parent 32921681e0
commit edbcf78a35

View File

@ -77,7 +77,8 @@ class AnimalFunctions(commands.Cog):
guild_ids=None, name="dale", description="Posts a photo of the goodest boy"
)
async def dale(self, ctx: commands.Context):
await ctx.respond(file=discord.File(animals.dale()))
await ctx.defer()
await ctx.send_followup(file=discord.File(animals.dale()))
@commands.slash_command(
guild_ids=None, name="rat", description="Posts a photo of a rat"