made it so you cant bonk yourself

This commit is contained in:
Lilac-Rose
2025-10-17 10:58:05 +02:00
parent 8546a24c64
commit bdf0960764

View File

@@ -17,6 +17,10 @@ class Bonk(commands.Cog):
if not os.path.exists(self.bonk_path):
await interaction.followup.send("Bonk image not found!", ephemeral=True)
return
if user.id == interaction.user.id:
await interaction.followup.send("You cannot bonk yourself", ephemeral=True)
return
file = discord.File(self.bonk_path, filename="bonk.png")
await interaction.followup.send(