remove message deletions in gib hug
This commit is contained in:
parent
f6a54c5cca
commit
d5aa241ba0
1 changed files with 0 additions and 2 deletions
2
bot.py
2
bot.py
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue