mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-31 18:24:50 +00:00
forget
This commit is contained in:
parent
80ea526f39
commit
b76e07d2d3
2 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@ MOD_NOLOAD = ["subscene_dl"]
|
|||
HELPABLE = {}
|
||||
cleanmode = {}
|
||||
botStartTime = time.time()
|
||||
misskaty_version = "v2.04.27 - Stable"
|
||||
misskaty_version = "v2.04.30 - Stable"
|
||||
|
||||
pymonclient = MongoClient(DATABASE_URI)
|
||||
mongo = AsyncIOMotorClient(DATABASE_URI)
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ async def currency(self: Client, ctx: Message):
|
|||
amount = teks[1]
|
||||
currency_from = teks[2]
|
||||
currency_to = teks[3]
|
||||
if isinstance(amount, (int, float))
|
||||
if isinstance(amount, (int, float)):
|
||||
url = f"https://v6.exchangerate-api.com/v6/{CURRENCY_API}/" f"pair/{currency_from}/{currency_to}/{amount}"
|
||||
try:
|
||||
res = await http.get(url)
|
||||
|
|
|
|||
Loading…
Reference in a new issue