summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'main.py')
-rw-r--r--main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.py b/main.py
index e250b4e..82de15e 100644
--- a/main.py
+++ b/main.py
@@ -77,6 +77,7 @@ async def on_command_error(error, ctx):
@bot.command()
async def vainsocial(region: str, name: str):
"""Retrieves a player's stats."""
+ region = region.lower()
if region not in ["na", "eu", "sg", "ea", "sa"]:
await bot.say("That region is not supported.")
return