aboutsummaryrefslogtreecommitdiffstats
path: root/bot
diff options
context:
space:
mode:
Diffstat (limited to 'bot')
-rw-r--r--bot/exts/internal_eval/_internal_eval.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/bot/exts/internal_eval/_internal_eval.py b/bot/exts/internal_eval/_internal_eval.py
index a62a7899..757a2a1e 100644
--- a/bot/exts/internal_eval/_internal_eval.py
+++ b/bot/exts/internal_eval/_internal_eval.py
@@ -112,11 +112,6 @@ class InternalEval(commands.Cog):
async def _eval(self, ctx: commands.Context, code: str) -> None:
"""Evaluate the `code` in the current evaluation context."""
- if code.startswith("exit"):
- self.locals = {}
- await ctx.send("The evaluation context was reset.")
- return
-
context_vars = {
"message": ctx.message,
"author": ctx.message.author,