random of dictionary
This commit is contained in:
parent
080d0f97f2
commit
1494e0e023
@ -58,7 +58,7 @@ class RPSLS:
|
||||
await ctx.maybe_send_embed("Invalid Choice")
|
||||
return
|
||||
|
||||
bot_choice = random.choice(self.weaknesses)
|
||||
bot_choice = random.choice(list(self.weaknesses.keys()))
|
||||
bot_emote = self.get_emote(bot_choice)
|
||||
message = '{} vs. {}, who will win?'.format(player_emote, bot_emote)
|
||||
em = discord.Embed(description=message, color=discord.Color.blue())
|
||||
|
Loading…
x
Reference in New Issue
Block a user