mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
revert PrintJSON to use key data, to match with documented behaviour
This commit is contained in:
@@ -945,7 +945,7 @@ async def process_server_cmd(ctx: Context, args: dict):
|
||||
logger.info(args["text"])
|
||||
|
||||
elif cmd == 'PrintJSON':
|
||||
logger.info(ctx.jsontotextparser(args["text"]))
|
||||
logger.info(ctx.jsontotextparser(args["data"]))
|
||||
|
||||
elif cmd == 'InvalidArguments':
|
||||
logger.warning(f"Invalid Arguments: {args['text']}")
|
||||
|
Reference in New Issue
Block a user