Defer dale to avoid shit breaking
This commit is contained in:
parent
fbdaf74894
commit
da52f8bc87
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user