aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris <[email protected]>2021-05-09 10:41:21 +0100
committerGravatar Chris <[email protected]>2021-05-09 10:41:21 +0100
commit51fc84ce35f860927b71add4ed96b2b7fec73cb6 (patch)
treec0695fb2ee01ae91d496e2641c8dd319a4b7deb8
parentSave query outputs to the internal eval environment for ease of access (diff)
Add comment to int e for context with Metabase loading
-rw-r--r--bot/exts/utils/internal.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bot/exts/utils/internal.py b/bot/exts/utils/internal.py
index 668e2f2e7..6a3ddb6e5 100644
--- a/bot/exts/utils/internal.py
+++ b/bot/exts/utils/internal.py
@@ -156,6 +156,7 @@ class Internal(Cog):
"contextlib": contextlib
}
+ # If the Metabase cog is loaded, insert all the saved exports into the env
if metabase := self.bot.get_cog("Metabase"):
env["metabase"] = metabase.exports