diff --git a/jarvis/client.py b/jarvis/client.py index 5a5b343..f054764 100644 --- a/jarvis/client.py +++ b/jarvis/client.py @@ -132,7 +132,7 @@ class Jarvis(Snake): v = v[97] + "..." arg_str += f"{v}\n" elif isinstance(ctx, MessageContext): - for v in ctx.args.items(): + for v in ctx.args: if isinstance(v, str) and len(v) > 100: v = v[97] + "..." arg_str += f" - {v}" @@ -187,7 +187,7 @@ class Jarvis(Snake): v = v[:97] + "..." args.append(f"{KEY_FMT}{k}:{VAL_FMT}{v}{RESET}") elif isinstance(ctx, MessageContext): - for v in ctx.args.items(): + for v in ctx.args: if isinstance(v, str) and len(v) > 100: v = v[97] + "..." args.append(f"{VAL_FMT}{v}{RESET}")