diff --git a/changelog.d/3184.enhance.rst b/changelog.d/3184.enhance.rst new file mode 100644 index 000000000..b3c488568 --- /dev/null +++ b/changelog.d/3184.enhance.rst @@ -0,0 +1 @@ +Add Python executable field to `[p]debuginfo` command. diff --git a/redbot/core/core_commands.py b/redbot/core/core_commands.py index 763a9391a..970d9eb2d 100644 --- a/redbot/core/core_commands.py +++ b/redbot/core/core_commands.py @@ -1592,12 +1592,14 @@ class Core(commands.Cog, CoreLogic): e.add_field(name="System arch", value=platform.machine(), inline=True) e.add_field(name="User", value=user_who_ran, inline=True) e.add_field(name="OS version", value=osver, inline=False) + e.add_field(name="Python executable", value=sys.executable, inline=False) await ctx.send(embed=e) else: info = ( "Debug Info for Red\n\n" + "Red version: {}\n".format(redver) + "Python version: {}\n".format(pyver) + + "Python executable: {}\n".format(sys.executable) + "Discord.py version: {}\n".format(dpy_version) + "Pip version: {}\n".format(pipver) + "System arch: {}\n".format(platform.machine())