MCPcopy Create free account

hub / github.com/5201213/wechatpadpro-on-wechat / functions

Functions1,232 in github.com/5201213/wechatpadpro-on-wechat

Methodmodify_remark
修改备注 Args: remark_name: 备注名称 user_name: 用户名 user_key: 普通用户密钥(可选,优先使用传入值,否则从配置文件读取) Returns:
lib/wxpad/client.py:1163
Methodmodify_user_info
修改资料 Args: city: 城市 country: 国家 init_flag: 初始化标志 nick_name: 昵称 province: 省份
lib/wxpad/client.py:1180
Methodmove_to_contract
获取群聊 Args: chat_room_name: 群聊名称 val: 值 user_key: 普通用户密钥(可选,优先使用传入值,否则从配置文件读取) Returns:
lib/wxpad/client.py:1516
Functionmp3_to_silk
Convert MP3 file to SILK format - 高音质版本 Args: mp3_path: Path to input MP3 file silk_path: Path to output SILK file Returns:
voice/audio_convert.py:260
Functionmsg_formatter
(d, k)
lib/itchat/utils.py:75
Functionmsg_register
a decorator constructor return a specific decorator based on information given
lib/itchat/components/register.py:69
Functionmsg_register
a decorator constructor return a specific decorator based on information given
lib/itchat/async_components/register.py:69
Methodmsg_register
a decorator constructor return a specific decorator based on information given
lib/itchat/core.py:436
Methodnew_sync_history_message
同步历史消息 Args: user_key: 普通用户密钥(可选,优先使用传入值,否则从配置文件读取) Returns: 历史消息
lib/wxpad/client.py:684
Functionon_close
(ws, one, two)
bot/xunfei/xunfei_spark_bot.py:199
Functionon_close
(ws)
voice/xunfei/xunfei_tts.py:146
Functionon_close
(ws,a,b)
voice/xunfei/xunfei_asr.py:140
Methodon_config
(self, config: dict)
common/linkai_client.py:29
Methodon_decorate_reply
(self, e_context: EventContext)
plugins/banwords/banwords.py:79
Functionon_error
(ws, error)
bot/xunfei/xunfei_spark_bot.py:194
Functionon_error
(ws, error)
voice/xunfei/xunfei_tts.py:140
Functionon_error
(ws, error)
voice/xunfei/xunfei_asr.py:135
Methodon_handle_context
(self, e_context: EventContext)
plugins/dungeon/dungeon.py:64
Methodon_handle_context
(self, e_context: EventContext, retry_count: int = 0)
plugins/jina_sum/jina_sum.py:73
Methodon_handle_context
(self, e_context: EventContext)
plugins/finish/finish.py:25
Methodon_handle_context
(self, e_context: EventContext)
plugins/banwords/banwords.py:57
Methodon_handle_context
消息处理逻辑 :param e_context: 消息上下文
plugins/linkai/linkai.py:38
Methodon_handle_context
(self, e_context: EventContext)
plugins/custom_dify_app/custom_dify_app.py:43
Methodon_handle_context
(self, e_context: EventContext)
plugins/bdunit/bdunit.py:45
Methodon_handle_context
(self, e_context: EventContext)
plugins/role/role.py:99
Methodon_handle_context
(self, e_context: EventContext)
plugins/keyword/keyword.py:48
Methodon_handle_context
(self, e_context: EventContext)
plugins/godcmd/godcmd.py:233
Methodon_handle_context
(self, e_context: EventContext)
plugins/hello/hello.py:44
Methodon_handle_context
(self, e_context: EventContext)
plugins/tool/tool.py:49
Methodon_login
(self, contact: Contact)
channel/wechat/wechaty_channel.py:54
Functionon_message
(ws, message)
bot/xunfei/xunfei_spark_bot.py:221
Functionon_message
(ws, message)
voice/xunfei/xunfei_tts.py:96
Functionon_message
(ws, message)
voice/xunfei/xunfei_asr.py:95
Methodon_message
listen for message event
channel/wechat/wechaty_channel.py:111
Methodon_message
(self, push_msg: PushMsg)
common/linkai_client.py:19
Functionon_open
(ws)
bot/xunfei/xunfei_spark_bot.py:205
Functionon_open
(ws)
voice/xunfei/xunfei_tts.py:123
Functionon_open
(ws)
voice/xunfei/xunfei_asr.py:145
Methodphone_device_login
辅助新手机登录 Args: user_key: 普通用户密钥(从管理接口生成,必需) data: 登录数据 Returns: 登录结果
lib/wxpad/client.py:331
Functionprint_cmd_qr
(qrText, white=BLOCK, black=' ', enableCmdQR=True)
lib/itchat/utils.py:96
Functionprint_green
(text)
common/utils.py:75
Functionprint_line
(msg, oneLine = False)
lib/itchat/utils.py:121
Functionprint_qr
(fileDir)
lib/itchat/utils.py:88
Functionprint_yellow
(text)
common/utils.py:78
Methodprocess
(self, callback: dingtalk_stream.CallbackMessage)
channel/dingtalk/dingtalk_channel.py:117
Methodputleft_nowait
(self, item)
common/dequeue.py:29
Methodquit_chatroom
退出群聊 Args: chat_room_name: 群聊名称 user_key: 普通用户密钥(可选,优先使用传入值,否则从配置文件读取) Returns: 退出结果
lib/wxpad/client.py:1533
Functionrefresh_login_status
检查登录状态并返回更新信息 Returns: tuple: (状态文本, 是否显示二维码, 头像)
web_ui.py:385
Functionrefresh_qrcode
刷新二维码
web_ui.py:378
Methodregister
(self, name: str, desire_priority: int = 0, **kwargs)
plugins/plugin_manager.py:27
Methodreload
(self)
plugins/linkai/linkai.py:300
Methodreload
(self)
plugins/godcmd/godcmd.py:535
Methodrename_conversation
(self, conversation_id, name, user)
lib/dify/dify_client.py:91
Methodreplace_markdown_url
(match)
bot/linkai/link_ai_bot.py:393
Methodreply
(self, query, context=None)
bot/dashscope/dashscope_bot.py:32
Methodreply
(self, query, context=None)
bot/modelscope/modelscope_bot.py:37
Methodreply
处理各种类型的消息并生成回复
bot/gemini/google_gemini_bot.py:79
Methodreply
(self, query, context: Context = None)
bot/bytedance/bytedance_coze_bot.py:36
Methodreply
(self, query, context=None)
bot/claudeapi/claude_api_bot.py:35
Methodreply
(self, query, context=None)
bot/deepseek/deepseek_bot.py:42
Methodreply
(self, query, context=None)
bot/ali/ali_qwen_bot.py:53
Methodreply
(self, query, context: Context = None)
bot/xunfei/xunfei_spark_bot.py:58
Methodreply
(self, query, context=None)
bot/chatgpt/chat_gpt_bot.py:57
Methodreply
(self, query, context: Context = None)
bot/linkai/link_ai_bot.py:30
Methodreply
(self, query, context=None)
bot/moonshot/moonshot_bot.py:33
Methodreply
(self, query, context=None)
bot/zhipuai/zhipuai_bot.py:30
Methodreply
(self, query, context=None)
bot/openai/open_ai_bot.py:44
Methodreply
(self, query, context: Context = None)
bot/minimax/minimax_bot.py:46
Methodreply
(self, query, context: Context=None)
bot/dify/dify_bot.py:30
Methodreply
(self, query, context=None)
bot/baidu/baidu_unit_bot.py:11
Methodreply
(self, query, context=None)
bot/baidu/baidu_wenxin.py:37
Methodreply
(self, query, context: Context = None)
bot/claude/claude_ai_bot.py:39
Methodreply_text
(self, session: ChatGPTSession, app_code="", retry_count=0)
bot/linkai/link_ai_bot.py:241
Methodreply_with_ai_markdown
()
channel/dingtalk/dingtalk_channel.py:186
Methodreply_with_at_text
()
channel/dingtalk/dingtalk_channel.py:184
Methodreply_with_text
()
channel/dingtalk/dingtalk_channel.py:182
Functionrevoke
(self, msgId, toUserName, localId=None)
lib/itchat/components/messages.py:516
Functionrevoke
(self, msgId, toUserName, localId=None)
lib/itchat/async_components/messages.py:515
Methodrevoke
revoke message with its and msgId for options - msgId: message Id on server - toUserName: 'UserName' key
lib/itchat/core.py:369
Methodrevoke_msg_new
撤回消息(New) Args: client_msg_id: 客户端消息ID create_time: 创建时间 new_msg_id: 新消息ID to_user_name: 接收者用
lib/wxpad/client.py:716
Functionrun
()
web_ui.py:119
Functionrun
(self, debug=False, blockThread=True)
lib/itchat/components/register.py:87
Functionrun
(self, debug=False, blockThread=True)
lib/itchat/async_components/register.py:87
Functionrun
(ws, *args)
bot/xunfei/xunfei_spark_bot.py:210
Functionrun
(*args)
voice/xunfei/xunfei_tts.py:126
Functionrun
(*args)
voice/xunfei/xunfei_asr.py:147
Methodscan_into_url_group
扫码入群 Args: url: 群二维码URL user_key: 普通用户密钥(可选,优先使用传入值,否则从配置文件读取) Returns: 入群结果
lib/wxpad/client.py:1548
Methodsearch_contact
搜索联系人 Args: from_scene: 来源场景 op_code: 操作码 search_scene: 搜索场景 user_name: 用户名 user_
lib/wxpad/client.py:1051
Functionsearch_dict_list
Search a list of dict * return dict with specific value & key
lib/itchat/utils.py:114
Methodsearch_friends
(self, name=None, userName=None, remarkName=None, nickName=None, wechatAccount=None)
lib/itchat/core.py:449
Methodsearch_member
(self, name=None, userName=None, remarkName=None, nickName=None, wechatAccount=None)
lib/itchat/storage/templates.py:121
Methodsearch_member
(self, name=None, userName=None, remarkName=None, nickName=None, wechatAccount=None)
lib/itchat/storage/templates.py:213
Methodsearch_mps
(self, name=None, userName=None)
lib/itchat/core.py:455
Functionsend
(self, msg, toUserName=None, mediaId=None)
lib/itchat/components/messages.py:490
Functionsend
(self, msg, toUserName=None, mediaId=None)
lib/itchat/async_components/messages.py:489
Methodsend
(self, msg, mediaId=None)
lib/itchat/storage/templates.py:119
Methodsend
(self, reply: Reply, context: Context)
channel/wechatcs/wechatcomservice_channel.py:66
Methodsend
(self, reply: Reply, context: Context)
channel/wechat/wechaty_channel.py:60
Methodsend
(self, reply: Reply, context: Context)
channel/wechat/wechat_channel.py:263
Methodsend
发送消息
channel/wechat/wcf_channel.py:108
← previousnext →1,001–1,100 of 1,232, ranked by callers