aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Matteo Bertucci <[email protected]>2021-05-15 20:07:10 +0200
committerGravatar Matteo Bertucci <[email protected]>2021-05-15 20:43:12 +0200
commit85733251d46151dc76378fad253c1d45e49eb9a0 (patch)
tree9a93e7a324602b71046ac9a8976921d4c6ef0e8c
parentMerge pull request #736 from python-discord/concurrency-action (diff)
Latex: temporarily disable loading of the cog
As we are currently working on restricting resources on the latex cog, this commit will prevent it from loading. It will be reverted once solved.
-rw-r--r--bot/exts/evergreen/latex.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/bot/exts/evergreen/latex.py b/bot/exts/evergreen/latex.py
index c4a8597c..8f42da90 100644
--- a/bot/exts/evergreen/latex.py
+++ b/bot/exts/evergreen/latex.py
@@ -91,4 +91,9 @@ class Latex(commands.Cog):
def setup(bot: commands.Bot) -> None:
"""Load the Latex Cog."""
+ # As we have resource issues on this cog,
+ # we have it currently disabled while we fix it.
+ import logging
+ logging.info("Latex cog is currently disabled. It won't be loaded.")
+ return
bot.add_cog(Latex(bot))