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