mirror of
https://github.com/oddluck/limnoria-plugins.git
synced 2025-04-28 22:41:08 -05:00
Corona: country abbreviation edits
This commit is contained in:
parent
93d260bc94
commit
3ee4f502ec
@ -225,7 +225,7 @@ countries = {
|
|||||||
"QA": "QATAR",
|
"QA": "QATAR",
|
||||||
"RE": "RÉUNION",
|
"RE": "RÉUNION",
|
||||||
"RO": "ROMANIA",
|
"RO": "ROMANIA",
|
||||||
"RU": "RUSSIAN FEDERATION",
|
"RU": "RUSSIA",
|
||||||
"RW": "RWANDA",
|
"RW": "RWANDA",
|
||||||
"BL": "SAINT BARTHÉLEMY",
|
"BL": "SAINT BARTHÉLEMY",
|
||||||
"SH": "SAINT HELENA",
|
"SH": "SAINT HELENA",
|
||||||
@ -503,6 +503,8 @@ class Corona(callbacks.Plugin):
|
|||||||
pass
|
pass
|
||||||
if search.lower() == 'usa' or 'united states' in search.lower():
|
if search.lower() == 'usa' or 'united states' in search.lower():
|
||||||
search = 'us'
|
search = 'us'
|
||||||
|
if 'korea' in search.lower():
|
||||||
|
search = 'korea, south'
|
||||||
if region and search.lower() == region.lower():
|
if region and search.lower() == region.lower():
|
||||||
location = region
|
location = region
|
||||||
confirmed += int(r.get('Confirmed'))
|
confirmed += int(r.get('Confirmed'))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user