Skip to content

Commit

Permalink
[Discord] Use emoji skin tone Bot attribute for rpsls command
Browse files Browse the repository at this point in the history
  • Loading branch information
Harmon758 committed May 8, 2019
1 parent 517a074 commit 758aa01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Discord/cogs/games.py
Original file line number Diff line number Diff line change
Expand Up @@ -1052,8 +1052,8 @@ async def rpsls(self, ctx, object : str):
resolution = {'r': {'s': "crushes", 'l': "crushes"}, 'p': {'r': "covers", 'S': "disproves"},
's': {'p': "cuts", 'l': "decapitates"}, 'l': {'p': "eats", 'S': "poisons"},
'S': {'r': "vaporizes", 's': "smashes"}}
emotes = {'r': ":fist::skin-tone-2:", 'p': ":raised_hand::skin-tone-2:",
's': ":v::skin-tone-2:", 'l': ":lizard:", 'S': ":vulcan::skin-tone-2:"}
emotes = {'r': f":fist:{ctx.bot.emoji_skin_tone}", 'p': f":raised_hand:{ctx.bot.emoji_skin_tone}",
's': f":v:{ctx.bot.emoji_skin_tone}", 'l': ":lizard:", 'S': f":vulcan:{ctx.bot.emoji_skin_tone}"}
if value[0] == short_shape:
await ctx.embed_reply(f"I chose `{value}`\nIt's a draw :confused:")
elif short_shape in resolution[value[0]]:
Expand Down

0 comments on commit 758aa01

Please sign in to comment.