Skip to content

Commit c54180c

Browse files
Update fun.py
1 parent 4099f62 commit c54180c

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

cogs/fun.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ async def _get_absolute_template_bytes(self) -> bytes:
181181
return template_bytes
182182

183183
@commands.hybrid_command(name="fridge", help="Send a fridge image")
184+
@commands.cooldown(1, 15, commands.BucketType.user)
184185
async def fridge(self, ctx: commands.Context):
185186
"""Send a fridge image (simple utility)."""
186187
# Generate an image locally so it always works (no external hotlinking).
@@ -402,9 +403,7 @@ async def choose(self, ctx: commands.Context, *, choices: str):
402403
await ctx.reply(embed=embed, mention_author=False)
403404

404405
@commands.hybrid_command(name="absolute", help="Put your avatar on the 'absolute cinema' GIF")
405-
406-
407-
406+
@commands.cooldown(1, 15, commands.BucketType.user)
408407
@app_commands.describe(text="Text to replace 'cinema' with")
409408
async def absolute(self, ctx: commands.Context, *, text: str):
410409

0 commit comments

Comments
 (0)