Skip to content

Commit

Permalink
fix Group_User send_forward_msg/send_message
Browse files Browse the repository at this point in the history
  • Loading branch information
sakura committed Apr 4, 2023
1 parent 9641f13 commit e39d18a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pycqBot/data/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,13 @@ def send_message(self, message: str, auto_escape: bool = False):
"""
发送群聊消息
"""
self._cqapi.send_group_msg(self.id, message, auto_escape)
self._cqapi.send_group_msg(self.group_id, message, auto_escape)

def send_forward_msg(self, messages: str):
"""
发送群聊合并转发
"""
self._cqapi.send_group_forward_msg(self.id, messages)
self._cqapi.send_group_forward_msg(self.group_id, messages)

def poke(self):
"""
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setup(
name="pycqBot",
version="0.5.0.1",
version="0.5.0.2",
description="go-cqhttp python 框架,可以用于快速塔建 bot",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit e39d18a

Please sign in to comment.