From 36c574797f9ae4a385cedfc0071d6aeaf31b717f Mon Sep 17 00:00:00 2001 From: Prashant <37273899+OculusMode@users.noreply.github.com> Date: Fri, 4 Jun 2021 18:20:52 +0530 Subject: Update bot/exts/evergreen/rps.py Co-authored-by: Xithrius <15021300+Xithrius@users.noreply.github.com> --- bot/exts/evergreen/rps.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'bot') diff --git a/bot/exts/evergreen/rps.py b/bot/exts/evergreen/rps.py index 8d844234..e089ba85 100644 --- a/bot/exts/evergreen/rps.py +++ b/bot/exts/evergreen/rps.py @@ -9,8 +9,7 @@ from bot.bot import Bot CHOICES = ['rock', 'paper', 'scissor'] SHORT_CHOICES = ['r', 'p', 's'] -# Instead of putting bunch of conditions to check winner, -# we can just manage this dictionary +# Using a dictionary instead of conditions to check for the winner. WINNER_DICT = { 'r': { 'r': 0, -- cgit v1.2.3