mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 03:08:55 -05:00
Update dev_commands.py (#3649)
This commit is contained in:
parent
ecdcc27749
commit
3f7c2e8842
@ -119,6 +119,7 @@ class Dev(commands.Cog):
|
||||
"discord": discord,
|
||||
"commands": commands,
|
||||
"_": self._last_result,
|
||||
"__name__": "__main__",
|
||||
}
|
||||
|
||||
code = self.cleanup_code(code)
|
||||
@ -172,6 +173,7 @@ class Dev(commands.Cog):
|
||||
"discord": discord,
|
||||
"commands": commands,
|
||||
"_": self._last_result,
|
||||
"__name__": "__main__",
|
||||
}
|
||||
|
||||
body = self.cleanup_code(body)
|
||||
@ -224,6 +226,7 @@ class Dev(commands.Cog):
|
||||
"asyncio": asyncio,
|
||||
"_": None,
|
||||
"__builtins__": __builtins__,
|
||||
"__name__": "__main__",
|
||||
}
|
||||
|
||||
if ctx.channel.id in self.sessions:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user