Finally fix list_macros completely (#61)
This commit is contained in:
parent
cbd1f55dc3
commit
50c8b11f26
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ class Macro(Cog):
|
||||||
|
|
||||||
for key in sorted(macros["macros"].keys()):
|
for key in sorted(macros["macros"].keys()):
|
||||||
message = f"- {key}"
|
message = f"- {key}"
|
||||||
if not macros_only:
|
if not macros_only and key in macros["aliases"]:
|
||||||
for alias in macros["aliases"][key]:
|
for alias in macros["aliases"][key]:
|
||||||
message += f", {alias}"
|
message += f", {alias}"
|
||||||
macros_formatted.append(message)
|
macros_formatted.append(message)
|
||||||
|
|
Loading…
Reference in a new issue