Defer dale to avoid shit breaking

This commit is contained in:
Luke Robles 2023-08-16 11:39:05 -07:00
parent 79fca84950
commit fed1b7b36c

View File

@ -77,7 +77,8 @@ class AnimalFunctions(commands.Cog):
guild_ids=None, name="dale", description="Posts a photo of the goodest boy" guild_ids=None, name="dale", description="Posts a photo of the goodest boy"
) )
async def dale(self, ctx: commands.Context): 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( @commands.slash_command(
guild_ids=None, name="rat", description="Posts a photo of a rat" guild_ids=None, name="rat", description="Posts a photo of a rat"