Skip to content

Commit c5a8382

Browse files
author
veehou
committed
fix: 修改数据对象的操作问题
1 parent a8ea5e4 commit c5a8382

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/demo_at_reply.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ async def on_ready(self):
1717
_log.info(f"robot 「{self.robot.name}」 on_ready!")
1818

1919
async def on_at_message_create(self, message: Message):
20-
_log.info(message.author.get("avatar"))
20+
_log.info(message.author.avatar)
2121
await message.reply(content=f"机器人{self.robot.name}收到你的@消息了: {message.content}")
2222

2323

0 commit comments

Comments
 (0)