Skip to content

Commit

Permalink
Finally fix list_macros completely (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
TSRBerry committed Jun 12, 2023
1 parent cbd1f55 commit 50c8b11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion robocop_ng/cogs/macro.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ async def list_macros(self, ctx: Context, macros_only=False):

for key in sorted(macros["macros"].keys()):
message = f"- {key}"
if not macros_only:
if not macros_only and key in macros["aliases"]:
for alias in macros["aliases"][key]:
message += f", {alias}"
macros_formatted.append(message)
Expand Down

0 comments on commit 50c8b11

Please sign in to comment.