Add emojis to hello command

This commit is contained in:
Terry Hearst 2022-09-12 19:44:30 -04:00
parent 860843dc7a
commit afd230d41a

12
bot.py
View file

@ -16,7 +16,17 @@ class Bot(commands.Bot):
@commands.command() @commands.command()
async def hello(self, ctx: commands.Context): async def hello(self, ctx: commands.Context):
# Basic hello world command, executed with "!hello". Reply hello to whoever made the command # 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(): def main():