add edb comomand

This commit is contained in:
leander committed 2024-05-26 16:53:32 +02:00
1 parent dfce7d349d
commit d9f0f32681
1 file changed
+15
+15
View File
@@ -1,3 +1,4 @@
import discord
from discord.ext import commands
@@ -164,6 +165,20 @@ class Fun(commands.Cog):
"https://cdn.discordapp.com/attachments/816357444724457502/890547766181371954/Snapchat-1979489663.mp4"
)
@commands.cooldown(1, 2, commands.BucketType.guild)
@commands.command()
async def edb(self, ctx: commands.Context):
"""
edb er vanskelig
Parameters
----------
ctx (commands.Context): Context object
"""
f = discord.File("./src/assets/edb.png")
await ctx.reply(file=f)
async def setup(bot: commands.Bot):
"""