aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2021-05-15 19:44:03 +0100
committerGravatar GitHub <[email protected]>2021-05-15 19:44:03 +0100
commit4c7645c216f690cfafd485820c00d9d3fbe7f278 (patch)
tree9a93e7a324602b71046ac9a8976921d4c6ef0e8c
parentMerge pull request #736 from python-discord/concurrency-action (diff)
parentLatex: temporarily disable loading of the cog (diff)
Merge pull request #737 from python-discord/latex-don't-load-cog
-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))