remove message deletions in gib hug

This commit is contained in:
Helixu 2022-03-09 20:45:10 +00:00
parent f6a54c5cca
commit d5aa241ba0

2
bot.py
View file

@ -55,8 +55,6 @@ async def fox(ctx):
@bot.command(brief="give someone a cuddle") @bot.command(brief="give someone a cuddle")
async def hug(ctx, *, name=None): async def hug(ctx, *, name=None):
await ctx.send(f"*Command executed by {ctx.author.name}#{ctx.author.discriminator}*")
await ctx.message.delete()
if not name: if not name:
return await ctx.send("Foxtrot hugs "+ctx.author.name.replace("@", "")+"! :3") return await ctx.send("Foxtrot hugs "+ctx.author.name.replace("@", "")+"! :3")
nameFixed = name.replace("@everyone", "everyone").replace("@here", "everyone here") nameFixed = name.replace("@everyone", "everyone").replace("@here", "everyone here")