Finished auto role list #134
This commit is contained in:
@@ -32,7 +32,8 @@
|
||||
"cpl-discord==2022.12.2"
|
||||
],
|
||||
"DevDependencies": [
|
||||
"cpl-cli==2022.12.1.post3"
|
||||
"cpl-cli==2022.12.1.post3",
|
||||
"pygount==1.5.1"
|
||||
],
|
||||
"PythonVersion": ">=3.10.4",
|
||||
"PythonPath": {},
|
||||
|
Submodule kdb-bot/src/bot/config updated: e3019156c0...7986144705
Submodule kdb-bot/src/bot_api/config updated: 81021418c2...c712f856eb
@@ -63,7 +63,7 @@ class Query(QueryABC):
|
||||
self.set_field("guilds", self._resolve_guilds)
|
||||
|
||||
def _resolve_guilds(self, *_, filter=None):
|
||||
if filter is None and "id" not in filter:
|
||||
if filter is None or "id" not in filter:
|
||||
return self._bot.guilds
|
||||
|
||||
return self._bot.guilds.where(lambda g: g.id == int(filter["id"]))
|
||||
|
Reference in New Issue
Block a user