mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-07 11:48:55 -05:00
Add data path to [p]debuginfo, add missing info in non-embed version
This commit is contained in:
parent
ca078e7cd9
commit
95e342f4f4
@ -2579,6 +2579,10 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
|
|||||||
osver = "Could not parse OS, report this on Github."
|
osver = "Could not parse OS, report this on Github."
|
||||||
user_who_ran = getpass.getuser()
|
user_who_ran = getpass.getuser()
|
||||||
driver = storage_type()
|
driver = storage_type()
|
||||||
|
|
||||||
|
from redbot.core.data_manager import basic_config
|
||||||
|
|
||||||
|
data_path = Path(basic_config["DATA_PATH"])
|
||||||
disabled_intents = (
|
disabled_intents = (
|
||||||
", ".join(
|
", ".join(
|
||||||
intent_name.replace("_", " ").title()
|
intent_name.replace("_", " ").title()
|
||||||
@ -2603,6 +2607,7 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
|
|||||||
inline=False,
|
inline=False,
|
||||||
)
|
)
|
||||||
e.add_field(name="Storage type", value=driver, inline=False)
|
e.add_field(name="Storage type", value=driver, inline=False)
|
||||||
|
e.add_field(name="Data path", value=data_path, inline=False)
|
||||||
e.add_field(name="Disabled intents", value=disabled_intents, inline=False)
|
e.add_field(name="Disabled intents", value=disabled_intents, inline=False)
|
||||||
await ctx.send(embed=e)
|
await ctx.send(embed=e)
|
||||||
else:
|
else:
|
||||||
@ -2617,6 +2622,8 @@ class Core(commands.commands._RuleDropper, commands.Cog, CoreLogic):
|
|||||||
+ "User: {}\n".format(user_who_ran)
|
+ "User: {}\n".format(user_who_ran)
|
||||||
+ "OS version: {}\n".format(osver)
|
+ "OS version: {}\n".format(osver)
|
||||||
+ "Storage type: {}\n".format(driver)
|
+ "Storage type: {}\n".format(driver)
|
||||||
|
+ "Data path: {}\n".format(data_path)
|
||||||
|
+ "Disabled intents: {}\n".format(disabled_intents)
|
||||||
)
|
)
|
||||||
await ctx.send(box(info))
|
await ctx.send(box(info))
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user