Fix command loader skip non-cog files
This commit is contained in:
parent
069c46390e
commit
206322f08e
@ -25,6 +25,7 @@ async def load_all_cogs(bot: commands.Bot, skip_cogs: Optional[List[str]] = None
|
|||||||
and not filename.startswith("profile_updater")
|
and not filename.startswith("profile_updater")
|
||||||
and not filename.startswith("neru")
|
and not filename.startswith("neru")
|
||||||
and not filename.endswith("_base_cog.py")
|
and not filename.endswith("_base_cog.py")
|
||||||
|
and not filename.endswith("_config.py")
|
||||||
and not filename.startswith("femdom")
|
and not filename.startswith("femdom")
|
||||||
and not filename == "VoiceGatewayCog.py"
|
and not filename == "VoiceGatewayCog.py"
|
||||||
):
|
):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user