mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-02-17 16:20:05 +08:00
adjust log content
This commit is contained in:
parent
9b54af70e6
commit
035782715f
@ -453,7 +453,7 @@ def parse_command(bot: NoneBot,
|
||||
:param cmd_string: command string
|
||||
:return: (Command object, current arg string)
|
||||
"""
|
||||
logger.debug(f'Parsing command: {cmd_string}')
|
||||
logger.debug(f'Parsing command: {repr(cmd_string)}')
|
||||
|
||||
matched_start = None
|
||||
for start in bot.config.COMMAND_START:
|
||||
|
@ -118,4 +118,4 @@ def _log_message(event: CQEvent) -> None:
|
||||
msg_from += f'@[讨论组:{event.discuss_id}]'
|
||||
logger.info(f'Self: {event.self_id}, '
|
||||
f'Message {event.message_id} from {msg_from}: '
|
||||
f'{str(event.message).__repr__()}')
|
||||
f'{repr(str(event.message))}')
|
||||
|
Loading…
x
Reference in New Issue
Block a user