mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2025-12-29 17:44:50 +00:00
cek coba
This commit is contained in:
parent
a7cb3f2a6f
commit
714a31cb0d
2 changed files with 3 additions and 3 deletions
|
|
@ -1,7 +1,6 @@
|
|||
from asyncio import gather
|
||||
|
||||
from httpx import AsyncClient, Timeout
|
||||
from misskaty import app
|
||||
from aiohttp import ClientSession
|
||||
|
||||
# Aiohttp Async Client
|
||||
|
|
@ -17,7 +16,6 @@ fetch = AsyncClient(
|
|||
},
|
||||
timeout=Timeout(20),
|
||||
)
|
||||
app.fetch = fetch
|
||||
|
||||
|
||||
async def get(url: str, *args, **kwargs):
|
||||
|
|
|
|||
|
|
@ -10,7 +10,8 @@ import sys
|
|||
from logging import getLogger
|
||||
from os.path import basename, dirname, isfile
|
||||
|
||||
from misskaty import MOD_LOAD, MOD_NOLOAD
|
||||
from misskaty import app, MOD_LOAD, MOD_NOLOAD
|
||||
from misskaty.helper.http import fetch
|
||||
|
||||
LOGGER = getLogger("MissKaty")
|
||||
|
||||
|
|
@ -48,6 +49,7 @@ def __list_all_modules():
|
|||
|
||||
return all_modules
|
||||
|
||||
app.fetch = fetch
|
||||
|
||||
LOGGER.info("[INFO]: IMPORTING PLUGINS")
|
||||
importlib.import_module("misskaty.plugins.__main__")
|
||||
|
|
|
|||
Loading…
Reference in a new issue