Skip to content

Commit

Permalink
Update chat_message_handle.py
Browse files Browse the repository at this point in the history
  • Loading branch information
HibiKier authored Apr 26, 2022
1 parent 93539be commit b0ab783
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basic_plugins/chat_history/chat_message_handle.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ async def _(event: GroupMessageEvent, reg_group: Tuple[Any, ...] = RegexGroup())
gid = event.group_id
date_scope = None
date, order, num = reg_group
num = num.split("=")[-1] or 10
num = num.split("=")[-1] if num else 10
if num and is_number(num) and 10 < int(num) < 50:
num = int(num)
if date in ["周"]:
Expand Down

0 comments on commit b0ab783

Please sign in to comment.