Add metadata file to redbot --debuginfo (#4557)

This commit is contained in:
jack1142 2020-10-28 11:54:16 +01:00 committed by GitHub
parent 252951c706
commit 8b2c6226f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,6 +97,7 @@ def debug_info():
+ "OS version: {}\n".format(osver) + "OS version: {}\n".format(osver)
+ "System arch: {}\n".format(platform.machine()) + "System arch: {}\n".format(platform.machine())
+ "User: {}\n".format(user_who_ran) + "User: {}\n".format(user_who_ran)
+ "Metadata file: {}\n".format(data_manager.config_file)
) )
print(info) print(info)
sys.exit(0) sys.exit(0)