From afd230d41a54b22bc94b11515bae43b75266e031 Mon Sep 17 00:00:00 2001 From: Terry Hearst Date: Mon, 12 Sep 2022 19:44:30 -0400 Subject: [PATCH] Add emojis to hello command --- bot.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/bot.py b/bot.py index c4c5737..2f709e0 100644 --- a/bot.py +++ b/bot.py @@ -16,7 +16,17 @@ class Bot(commands.Bot): @commands.command() async def hello(self, ctx: commands.Context): # Basic hello world command, executed with "!hello". Reply hello to whoever made the command - await ctx.send(f"Hello {ctx.author.name}!") + response = f"Hello {ctx.author.name}! " + if ctx.author.is_broadcaster: + response += "👑" + else: + if ctx.author.is_mod: + response += "⚔" + elif ctx.author.is_vip: + reponse += "💎" + if ctx.author.is_subscriber: + response += "🤑" + await ctx.send(response.strip()) def main():