Add emojis to hello command
This commit is contained in:
parent
860843dc7a
commit
afd230d41a
1 changed files with 11 additions and 1 deletions
12
bot.py
12
bot.py
|
@ -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():
|
||||||
|
|
Loading…
Add table
Reference in a new issue