MCPcopy Create free account

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

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

↓ 519 callersMethodget
(self, key, default=None)
common/expired_dict.py:21
↓ 406 callersFunctionconf
()
config.py:383
↓ 391 callersMethodget
(self, key, default=None)
bridge/context.py:52
↓ 329 callersMethodget
(self, key, default=None)
config.py:256
↓ 128 callersMethodappend
(self, value)
lib/itchat/storage/templates.py:45
↓ 116 callersMethodupdate
(self)
lib/itchat/storage/templates.py:148
↓ 100 callersMethodget
(self, v, d=None)
lib/itchat/storage/templates.py:17
↓ 70 callersMethod_post_with_user_key
使用普通用户密钥发送POST请求
lib/wxpad/client.py:85
↓ 65 callersMethoddumps
(self)
lib/itchat/storage/__init__.py:31
↓ 39 callersMethodloads
(self, j)
lib/itchat/storage/__init__.py:39
↓ 38 callersMethodpath
(self)
common/tmp_dir.py:17
↓ 31 callersMethoditems
(self)
common/sorted_dict.py:45
↓ 19 callersMethod_compose_context
(self, ctype: ContextType, content, **kwargs)
channel/feishu/feishu_channel.py:228
↓ 19 callersMethodclose
(self)
common/token_bucket.py:35
↓ 17 callersFunction_set_reply_text
(content: str, e_context: EventContext, level: ReplyType = ReplyType.ERROR)
plugins/linkai/linkai.py:317
↓ 17 callersMethodproduce
(self, context: Context)
channel/chat_channel.py:520
↓ 16 callersMethodkeys
(self)
common/sorted_dict.py:40
↓ 15 callersMethod_get_with_user_key
使用普通用户密钥发送GET请求
lib/wxpad/client.py:101
↓ 15 callersMethodclear_session
(self, session_id)
bot/dify/dify_session.py:87
↓ 15 callersFunctionpconf
根据插件名称获取配置 :param plugin_name: 插件名称 :return: 该插件的配置项
config.py:423
↓ 15 callersMethodsend
wrapped function for all the sending functions for options - msg: message starts with different string indicates differen
lib/itchat/core.py:357
↓ 15 callersMethodsession_query
(self, query, user_id, session_id)
bot/bytedance/coze_session.py:89
↓ 15 callersMethodsession_reply
(self, reply, session_id, total_tokens=None, query=None)
bot/linkai/link_ai_bot.py:449
↓ 14 callersFunctionfsize
(file)
common/utils.py:10
↓ 14 callersMethodstart
启动清理器
common/tmp_cleaner.py:35
↓ 12 callersMethodTryGetValue
(self,c)
plugins/banwords/lib/WordsSearch.py:65
↓ 12 callersMethodput
(self, message)
lib/itchat/storage/messagequeue.py:12
↓ 12 callersMethodsearch_chatrooms
(self, name=None, userName=None)
lib/itchat/storage/__init__.py:94
↓ 11 callersFunctionload_config
()
config.py:323
↓ 10 callersMethod_get_dify_conf
(self, context: Context, key, default=None)
bot/dify/dify_bot.py:94
↓ 10 callersMethoddownload
(self, fileName)
lib/itchat/storage/messagequeue.py:16
↓ 10 callersMethodget_contact
fetch part of contact for part - all the massive platforms and friends are fetched - if update, only star
lib/itchat/core.py:165
↓ 10 callersFunctionremove_markdown_symbol
移除markdown格式符号,包括: 1. 标题符号 (#) 2. 列表符号 (-) 3. 加粗和斜体符号 (*) Args: text (str): 包含markdown格式的文本 Returns:
common/utils.py:176
↓ 10 callersMethodsend_text_message
(self, external_userid, open_kfid, content, msgid=None)
channel/wechatcs/wechatcomservice_channel.py:180
↓ 9 callersMethodclear_all_session
(self)
bot/dify/dify_session.py:91
↓ 9 callersMethodload_config
加载当前插件配置 :return: 插件配置字典
plugins/plugin.py:11
↓ 9 callersMethodsend_image
发送图片,支持多种数据格式,直接转换为base64发送 Args: image_data: 图片数据,支持以下格式: - str: 本地文件路径、图片URL或base64数据 - by
channel/wxpad/wxpad_channel.py:1466
↓ 8 callersMethod_send_request
(self, method, endpoint, json=None, params=None, stream=False)
lib/dify/dify_client.py:9
↓ 8 callersMethod_set_reply_text
设置回复文本 :param content: 回复内容 :param e_context: 对话上下文 :param level: 回复等级
plugins/linkai/midjourney.py:381
↓ 8 callersMethodget_bot
(self, typename)
bridge/bridge.py:76
↓ 8 callersMethodreset
(self)
bot/deepseek/deepseek_session.py:11
↓ 8 callersMethodstart
AI卡片的创建接口 :param support_forward: :param recipients: :param card_template_id: :param card_data: :retu
channel/dingtalk/dingtalk_channel.py:34
↓ 8 callersFunctionupdate_info_dict
only normal values will be updated here because newInfoDict is normal dict, so it's not necessary to consider templates
lib/itchat/utils.py:155
↓ 7 callersMethodupdate_chatroom
update chatroom for chatroom contact - a chatroom contact need updating to be detailed - detailed means m
lib/itchat/core.py:142
↓ 6 callersMethod_extract_str
提取字符串值
channel/wxpad/wxpad_channel.py:554
↓ 6 callersMethod_fill_file_base_url
(self, url: str)
bot/dify/dify_bot.py:393
↓ 6 callersFunction_find_user_id
(context)
plugins/linkai/linkai.py:310
↓ 6 callersMethodbuild_session
如果session_id不在sessions中,创建一个新的session并添加到sessions中 如果system_prompt不会空,会更新session的system_prompt并重置session
bot/session_manager.py:49
↓ 6 callersMethodclear_session
(self, session_id)
bot/session_manager.py:86
↓ 6 callersFunctioncompress_imgfile
(file, max_size)
common/utils.py:25
↓ 6 callersMethodfetch_access_token
(self)
channel/wechatcs/wechatcomservice_client.py:56
↓ 6 callersMethodget_user_data
(self, user)
config.py:271
↓ 6 callersMethodprepare
(self)
channel/chat_message.py:65
↓ 6 callersMethodprepare
(self)
channel/wxpad/wxpad_message.py:850
↓ 6 callersMethodsave_config
(self)
plugins/plugin_manager.py:45
↓ 6 callersMethodsearch_friends
(self, name=None, userName=None, remarkName=None, nickName=None, wechatAccount=None)
lib/itchat/storage/__init__.py:62
↓ 6 callersMethodupload_file
upload file to server and get mediaId for options - fileDir: dir for file ready for upload - isPicture: w
lib/itchat/core.py:312
↓ 5 callersMethod__init__
(self, *args, **kwargs)
lib/itchat/storage/templates.py:145
↓ 5 callersFunctioncheck_prefix
(content, prefix_list)
channel/chat_channel.py:582
↓ 5 callersMethodget_msg
fetch messages for fetching - method blocks for sometime until - new messages are to be received
lib/itchat/core.py:124
↓ 5 callersFunctionget_qrcode_image
()
web_ui.py:190
↓ 5 callersFunctioninit_db
()
database/group_members_db.py:7
↓ 5 callersMethodis_pass
(self)
plugins/event.py:51
↓ 5 callersMethodlogout
logout if core is now alive logout will tell wechat backstage to logout and core gets ready for another login
lib/itchat/core.py:134
↓ 5 callersMethodrun
start auto respond for option - debug: if set, debug info will be shown on screen it is defined in components
lib/itchat/core.py:442
↓ 5 callersMethodsend_file
(self, fileDir, mediaId=None)
lib/itchat/storage/templates.py:282
↓ 5 callersMethodsend_image
(self, fileDir, mediaId=None)
lib/itchat/storage/templates.py:287
↓ 5 callersMethodsend_msg
(self, msg='Test Message')
lib/itchat/storage/templates.py:277
↓ 5 callersMethodsend_video
send video for options - fileDir: dir for file ready for upload - if mediaId is set, it's unnecessary
lib/itchat/core.py:346
↓ 5 callersMethodsend_video
(self, fileDir=None, mediaId=None)
lib/itchat/storage/templates.py:292
↓ 5 callersFunctionsplit_audio
分割音频文件
voice/audio_convert.py:319
↓ 5 callersFunctionupdate_local_chatrooms
get a list of chatrooms for updating local chatrooms return a list of given chatrooms with updated info
lib/itchat/components/contact.py:110
↓ 5 callersFunctionupdate_local_chatrooms
get a list of chatrooms for updating local chatrooms return a list of given chatrooms with updated info
lib/itchat/async_components/contact.py:102
↓ 5 callersFunctionupdate_local_friends
get a list of friends or mps for updating local contact
lib/itchat/components/contact.py:181
↓ 5 callersFunctionupdate_local_friends
get a list of friends or mps for updating local contact
lib/itchat/async_components/contact.py:171
↓ 5 callersFunctionwrite_plugin_config
写入插件全局配置 :param pconf: 全量插件配置
config.py:405
↓ 4 callersMethodSetResults
(self,index)
plugins/banwords/lib/WordsSearch.py:35
↓ 4 callersMethod__setstate__
(self, state)
lib/itchat/storage/templates.py:163
↓ 4 callersMethod_cleanup_image_cache
清理图片缓存
bot/gemini/google_gemini_bot.py:599
↓ 4 callersMethod_fill_file_base_url
(self, url: str)
bot/bytedance/bytedance_coze_bot.py:185
↓ 4 callersMethod_generate_content
生成内容回复
bot/gemini/google_gemini_bot.py:334
↓ 4 callersMethod_handle_text_message
处理纯文本消息
bot/gemini/google_gemini_bot.py:107
↓ 4 callersMethodactivate_plugins
(self)
plugins/plugin_manager.py:140
↓ 4 callersMethoddump_login_status
dump login status to a specific file for option - fileDir: dir for dumping login status it is defined in comp
lib/itchat/core.py:378
↓ 4 callersMethodemit_event
(self, e_context: EventContext, *args, **kwargs)
plugins/plugin_manager.py:191
↓ 4 callersMethodfetch_app_plugin
(app_code: str, plugin_name: str)
plugins/linkai/utils.py:33
↓ 4 callersFunctionfunc
(_signo, _stack_frame)
app.py:18
↓ 4 callersMethodget_bot_type
(self, typename)
bridge/bridge.py:89
↓ 4 callersMethodget_name_by_wxid
通过wxid,获取成员/群名称
channel/wechat/wcf_channel.py:172
↓ 4 callersFunctionget_wxpad_profile
获取wxpad用户信息并下载头像,仅在用户在线时返回信息
web_ui.py:41
↓ 4 callersMethodis_admin
判断消息是否由管理员用户发送 :param e_context: 消息上下文 :return: True: 是, False: 否
plugins/linkai/utils.py:10
↓ 4 callersMethodlogin
log in like web wechat does for log in - a QR code will be downloaded and opened - then scanning status i
lib/itchat/core.py:29
↓ 4 callersMethodreload
(self)
plugins/plugin.py:51
↓ 4 callersMethodreply_text
call bailian's ChatCompletion to get the answer :param session: a conversation session :param retry_count: retry count
bot/ali/ali_qwen_bot.py:105
↓ 4 callersMethodsend_cdn_download
下载请求 Args: aes_key: AES密钥 file_type: 文件类型 file_url: 文件URL user_key: 普通用户密钥(可选,优先使用传入值,否则从配置文件
lib/wxpad/client.py:759
↓ 4 callersMethodset_default_value
(self, initFunction=None, contactClass=None)
lib/itchat/storage/templates.py:40
↓ 4 callersFunctionsplit_string_by_utf8_length
(string, max_length, max_split=0)
common/utils.py:40
↓ 4 callersMethodstart_receiving
open a thread for heart loop and receiving messages for options: - exitCallback: callback after logged out
lib/itchat/core.py:112
↓ 4 callersFunctionverify_server
(data)
channel/wechatmp/common.py:15
↓ 3 callersMethodAdd
(self,c)
plugins/banwords/lib/WordsSearch.py:26
next →1–100 of 1,232, ranked by callers