mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-08 07:54:52 +00:00
Merge branch 'develop' into asyncio
This commit is contained in:
commit
6c7a3316dd
1 changed files with 8 additions and 7 deletions
|
|
@ -1087,14 +1087,15 @@ class Client(Methods, BaseClient):
|
||||||
"exclude": section.get("exclude") or None
|
"exclude": section.get("exclude") or None
|
||||||
}
|
}
|
||||||
except KeyError:
|
except KeyError:
|
||||||
pass
|
self.plugins = {}
|
||||||
|
|
||||||
for option in ["include", "exclude"]:
|
if self.plugins:
|
||||||
if self.plugins[option] is not None:
|
for option in ["include", "exclude"]:
|
||||||
self.plugins[option] = [
|
if self.plugins[option] is not None:
|
||||||
(i.split()[0], i.split()[1:] or None)
|
self.plugins[option] = [
|
||||||
for i in self.plugins[option].strip().split("\n")
|
(i.split()[0], i.split()[1:] or None)
|
||||||
]
|
for i in self.plugins[option].strip().split("\n")
|
||||||
|
]
|
||||||
|
|
||||||
async def load_session(self):
|
async def load_session(self):
|
||||||
try:
|
try:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue