From abb1f16129daf8ee8c757b36ff743de1e727d360 Mon Sep 17 00:00:00 2001 From: ddorn Date: Wed, 27 May 2020 13:12:50 +0200 Subject: [PATCH] :sparkles: add RAINBOW_HEART + remove AQT from hugs --- src/cogs/misc.py | 9 ++++++--- src/cogs/teams.py | 2 +- src/constants.py | 1 + 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/cogs/misc.py b/src/cogs/misc.py index faa7941..f988012 100644 --- a/src/cogs/misc.py +++ b/src/cogs/misc.py @@ -192,7 +192,7 @@ class MiscCog(Cog, name="Divers"): # ----------------- Hugs ---------------- # - @command(aliases=["<3", "❤️", ":heart:"]) + @command(aliases=["<3", "❤️", ":heart:", Emoji.RAINBOW_HEART]) async def hug(self, ctx: Context, who="everyone"): """Fait un câlin à quelqu'un. :heart:""" @@ -221,7 +221,7 @@ class MiscCog(Cog, name="Divers"): ":hugging:", ":smiling_face_with_3_hearts:", "Oh wiiii", - f"{'Je me sens' if bot_hug else 'Iel se sent'} désormais prêt à travailler à fond sur les solutions de AQT", + # f"{'Je me sens' if bot_hug else 'Iel se sent'} désormais prêt à travailler à fond sur les solutions de AQT", f"{who.mention} en redemande un !" if not bot_hug else "J'en veux un autre ! :heart_eyes:", @@ -453,12 +453,15 @@ class MiscCog(Cog, name="Divers"): ":orange_heart:", ":heart:", ":sparkling_heart:", + Emoji.RAINBOW_HEART, ] if v <= 0: return hearts[0] - elif v >= 2000: + elif v >= 5000: return hearts[-1] + elif v >= 2000: + return hearts[-2] else: return hearts[len(str(v))] diff --git a/src/cogs/teams.py b/src/cogs/teams.py index f633b01..f831c6e 100644 --- a/src/cogs/teams.py +++ b/src/cogs/teams.py @@ -89,7 +89,7 @@ class TeamsCog(Cog, name="Teams"): # return str(channel.changed_roles) return "C'est fait !" - @commands.command(name="tourist") + @commands.command(name="tourist", aliases=["touriste"]) @send_and_bin async def touriste_cmd(self, ctx: Context, tournoi="Finale"): """ diff --git a/src/constants.py b/src/constants.py index ab7ee95..911adc4 100644 --- a/src/constants.py +++ b/src/constants.py @@ -91,6 +91,7 @@ class Emoji: CROSS = "❌" PLUS_1 = "👍" MINUS_1 = "👎" + RAINBOW_HEART = "<:rainbow_heart:714172834632564818>" class File: