Skip to content

Commit

Permalink
Update package.py
Browse files Browse the repository at this point in the history
vivien8261 committed Jan 5, 2024
1 parent 9308d31 commit c20df69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions amiyabot/adapters/tencent/qqGroup/package.py
Original file line number Diff line number Diff line change
@@ -11,6 +11,7 @@ async def package_qq_group_message(instance: BotAdapterProtocol, event: str, mes
if event in message_created:
data = Message(instance, message)
data.is_direct = event == 'C2C_MESSAGE_CREATE'
data.is_at = True

data.user_id = message['author']['id']
data.user_openid = message['author']['member_openid']

0 comments on commit c20df69

Please sign in to comment.