summaryrefslogtreecommitdiff
path: root/main.py
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-03-15 16:53:26 +0100
committerschneefux <schneefux+commit@schneefux.xyz>2017-03-15 16:53:26 +0100
commite66f60fb9f2c0cdeb023feba23ac4f99a9405e01 (patch)
tree58a079030d0509bbec04e7d5484739ee52fdf2e0 /main.py
parent362e508c62d82376a932539199efb08469b1d8b4 (diff)
downloaddiscordbot-e66f60fb9f2c0cdeb023feba23ac4f99a9405e01.tar.gz
discordbot-e66f60fb9f2c0cdeb023feba23ac4f99a9405e01.zip
map sg -> sea
Diffstat (limited to 'main.py')
-rw-r--r--main.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.py b/main.py
index e429cdb..adada9d 100644
--- a/main.py
+++ b/main.py
@@ -155,6 +155,8 @@ async def vainsocial(name: str, region: str = None):
"Can't find you. What is your region?")
return
region = region.lower()
+ if region == "sea":
+ region = "sg"
if region not in ["na", "eu", "sg", "ea", "sa"]:
await bot.edit_message(msgid,
"That region is not supported.")