From 758aa016189922cd48c063a7c508ba036c642305 Mon Sep 17 00:00:00 2001 From: Harmon Date: Wed, 8 May 2019 05:14:44 -0500 Subject: [PATCH] [Discord] Use emoji skin tone Bot attribute for rpsls command --- Discord/cogs/games.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Discord/cogs/games.py b/Discord/cogs/games.py index 92212941a4..2c4975d66a 100644 --- a/Discord/cogs/games.py +++ b/Discord/cogs/games.py @@ -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]]: