diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-15 16:53:26 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-15 16:53:26 +0100 |
| commit | e66f60fb9f2c0cdeb023feba23ac4f99a9405e01 (patch) | |
| tree | 58a079030d0509bbec04e7d5484739ee52fdf2e0 | |
| parent | 362e508c62d82376a932539199efb08469b1d8b4 (diff) | |
| download | discordbot-e66f60fb9f2c0cdeb023feba23ac4f99a9405e01.tar.gz discordbot-e66f60fb9f2c0cdeb023feba23ac4f99a9405e01.zip | |
map sg -> sea
| -rw-r--r-- | main.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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.") |
