Skip to content

Commit

Permalink
Merge pull request #85 from AmiyaBot/dev
Browse files Browse the repository at this point in the history
Update package.py
  • Loading branch information
vivien8261 authored Jan 5, 2024
2 parents dad89c9 + c20df69 commit 62719d5
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
Expand Up @@ -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']
Expand Down

0 comments on commit 62719d5

Please sign in to comment.