mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -05:00
[Cog Manager] Fix cog manager paths command (#976)
This commit is contained in:
parent
cf77eb2e47
commit
ea4aaf61c1
@ -193,7 +193,7 @@ class CogManagerUI:
|
|||||||
Lists current cog paths in order of priority.
|
Lists current cog paths in order of priority.
|
||||||
"""
|
"""
|
||||||
install_path = await ctx.bot.cog_mgr.install_path()
|
install_path = await ctx.bot.cog_mgr.install_path()
|
||||||
cog_paths = ctx.bot.cog_mgr.paths
|
cog_paths = await ctx.bot.cog_mgr.paths()
|
||||||
cog_paths = [p for p in cog_paths if p != install_path]
|
cog_paths = [p for p in cog_paths if p != install_path]
|
||||||
|
|
||||||
msg = _("Install Path: {}\n\n").format(install_path)
|
msg = _("Install Path: {}\n\n").format(install_path)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user