Remove AIModerationCog and update load_all_cogs to skip rp_messages.py
This commit is contained in:
parent
d03c2fb458
commit
737e238212
@ -1,9 +0,0 @@
|
|||||||
from discord.ext import commands
|
|
||||||
|
|
||||||
from .aimod_cog import AIModerationCog
|
|
||||||
|
|
||||||
|
|
||||||
async def setup(bot: commands.Bot):
|
|
||||||
"""Load the AIModerationCog."""
|
|
||||||
await bot.add_cog(AIModerationCog(bot))
|
|
||||||
print("AIModerationCog has been loaded.")
|
|
@ -28,6 +28,7 @@ async def load_all_cogs(bot: commands.Bot, skip_cogs: Optional[List[str]] = None
|
|||||||
and not filename.endswith("_config.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"
|
||||||
|
and not filename == "rp_messages.py"
|
||||||
):
|
):
|
||||||
# Special check for welcome_cog.py
|
# Special check for welcome_cog.py
|
||||||
if filename == "welcome_cog.py":
|
if filename == "welcome_cog.py":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user