Compare commits

..

2 commits

Author SHA1 Message Date
d860f2ce6a Fix gib hug 2021-12-17 20:49:20 +00:00
76d49a4597 Fix gib hug (Issue #3) 2021-12-17 20:48:07 +00:00

8
bot.py
View file

@ -53,10 +53,10 @@ async def fox(ctx):
@bot.command(brief="give someone a cuddle")
async def hug(ctx, *, name=None):
if not name:
return await ctx.send("Foxtrot hugs "+ctx.author.name+"! :3")
#await ctx.send(ctx.author.name+f" hugs {name}! :3")
await ctx.send("This command is currently disabled until an issue is fixed.")
if not name:
return await ctx.send("Foxtrot hugs "+ctx.author.name.replace("@", "")+"! :3")
nameFixed = name.replace("@everyone", "everyone").replace("@here", "everyone here")
await ctx.send(ctx.author.name+f" hugs {nameFixed}! :3")
@bot.command(brief="gives the top.gg vote link")
async def vote(ctx):