MCPcopy Index your code

hub / github.com/Cassius0924/WeChatter / functions

Functions430 in github.com/Cassius0924/WeChatter

Function_logging
日志装饰器
wechatter/sender/sender.py:41
Function_retry
重试装饰器
wechatter/sender/sender.py:16
Function_send_localfile_msg2
发送本地文件 :param to: SendTo 对象 :param file_path: 文件路径 :param is_group: 是否为群组
wechatter/sender/sender.py:363
Function_send_msg2
发送消息 :param to: SendTo 对象 :param message: 消息内容 :param is_group: 是否为群组(默认为群组,True) :param type: 消息类型(text、fileUrl) :param quot
wechatter/sender/sender.py:196
Function_send_msg_list2
发送多条消息,消息类型相同 :param to: SendTo 对象 :param message_list: 消息内容列表 :param is_group: 是否为群组 :param type: 消息类型(text、fileUrl)
wechatter/sender/sender.py:279
Function_validate
验证接收者和消息内容是否为空
wechatter/sender/sender.py:113
Functionbili_hot_command_handler
(to: Union[SendTo, str], message: str = "")
wechatter/commands/_commands/bili_hot.py:20
Functionbili_hot_quoted_handler
(to: SendTo, message: str = "", q_response: str = "")
wechatter/commands/_commands/bili_hot.py:39
Functioncheck_and_create_file
检查文件是否存在,如果不存在则创建 :param paths: 文件路径(可变参数)
wechatter/utils/file_manager.py:85
Methodcreate
(self)
wechatter/games/_games/tictactoe.py:51
Functioncreate_file
创建文件 :param paths: 文件路径(可变参数)
wechatter/utils/file_manager.py:56
Functioncreate_folder
创建文件夹 :param paths: 文件夹路径(可变参数)
wechatter/utils/file_manager.py:38
Functioncreate_tables
()
wechatter/database/database.py:17
Functiondecorator
(func)
wechatter/webhook_handlers/hanlders.py:12
Methoddefault
(self, obj)
wechatter/utils/unique_list.py:54
Functiondelete_file
删除文件 :param paths: 文件路径(可变参数)
wechatter/utils/file_manager.py:146
Functiondelete_folder
删除文件夹 :param paths: 文件夹路径(可变参数)
wechatter/utils/file_manager.py:165
Functiondouyin_hot_command_handler
(to: Union[str, SendTo], message: str = "")
wechatter/commands/_commands/douyin_hot.py:19
Functiondouyin_hot_quoted_handler
(to: SendTo, message: str = "", q_response: str = "")
wechatter/commands/_commands/douyin_hot.py:38
Methodemit
(self, record)
wechatter/init_logger.py:24
Methodfill_from_dict
(self, data: Dict)
wechatter/games/_games/tictactoe.py:47
Functionfood_calories_command_handler
(to: Union[str, SendTo], message: str = "")
wechatter/commands/_commands/food_calories.py:20
Methodforwarded_source_name
获取转发消息的来源的名字 :return: 消息来源的名字和是否为群的元组(source_name, is_group)
wechatter/models/wechat/message.py:218
Methodfrom_model
(cls, gpt_chat_message_model: GptChatMessageModel)
wechatter/database/tables/gpt_chat_message.py:36
Methodfrom_model
(cls, message_model: MessageModel)
wechatter/database/tables/message.py:45
Methodfrom_model
(cls, model: QuotedResponseModel)
wechatter/database/tables/quoted_response.py:21
Methodfrom_model
(cls, person_model: PersonModel)
wechatter/database/tables/person.py:49
Methodfrom_model
(cls, gpt_chat_info_model: GptChatInfoModel)
wechatter/database/tables/gpt_chat_info.py:43
Methodfrom_model
(cls, game_states_model: GameStatesModel)
wechatter/database/tables/game_states.py:42
Methodg_id
(self)
wechatter/models/wechat/send_to.py:35
Methodg_name
(self)
wechatter/models/wechat/send_to.py:44
Functiongame_command_handler
创建游戏
wechatter/games/__init__.py:37
Functiongames_list_handler
查看所有游戏
wechatter/games/__init__.py:166
Functiongasoline_price_command_handler
(to: Union[str, SendTo], message: str = "")
wechatter/commands/_commands/gasoline_price.py:19
Functionget_current_datetime_object
获取当前时间对象 :return: 返回当前时间对象
wechatter/utils/time.py:38
Functionget_current_day
获取当前日 :return: 返回格式化后的日字符串
wechatter/utils/time.py:86
Functionget_current_second
获取当前秒 :return: 返回当前秒
wechatter/utils/time.py:22
Functionget_current_timestamp
获取当前时间戳 :return: 返回当前时间戳
wechatter/utils/time.py:30
Functionget_current_year_month
获取当前年月 :return: 返回格式化后的年月字符串
wechatter/utils/time.py:78
Functiongithub_trending_command_handler
(to: Union[str, SendTo], message: str = "")
wechatter/commands/_commands/github_trending.py:22
Functiongithub_trending_quoted_handler
(to: SendTo, message: str = "", q_response: str = "")
wechatter/commands/_commands/github_trending.py:41
Functiongithub_webhook_handler
注册 GitHub 事件 Handler 的装饰器
wechatter/webhook_handlers/hanlders.py:7
Functiongpt35_chats_command_handler
( to: SendTo, message: str = "", message_obj=None )
wechatter/commands/_commands/openai_chat_gpt.py:43
Functiongpt35_command_handler
(to: SendTo, message: str = "", message_obj=None)
wechatter/commands/_commands/openai_chat_gpt.py:34
Functiongpt35_continue_command_handler
( to: SendTo, message: str = "", message_obj=None )
wechatter/commands/_commands/openai_chat_gpt.py:65
Functiongpt35_record_command_handler
( to: SendTo, message: str = "", message_obj=None )
wechatter/commands/_commands/openai_chat_gpt.py:54
Functiongpt4_chats_command_handler
(to: SendTo, message: str = "", message_obj=None)
wechatter/commands/_commands/openai_chat_gpt.py:85
Functiongpt4_command_handler
(to: SendTo, message: str = "", message_obj=None)
wechatter/commands/_commands/openai_chat_gpt.py:76
Functiongpt4_continue_command_handler
( to: SendTo, message: str = "", message_obj=None )
wechatter/commands/_commands/openai_chat_gpt.py:105
Functiongpt4_record_command_handler
( to: SendTo, message: str = "", message_obj=None )
wechatter/commands/_commands/openai_chat_gpt.py:94
Functiongpt4_remove_command_handler
( to: SendTo, message: str = "", message_obj=None )
wechatter/commands/_commands/openai_chat_gpt.py:113
Functionhandle_create
(data: dict)
wechatter/webhook_handlers/github/create_handler.py:9
Functionhandle_delete
(data: dict)
wechatter/webhook_handlers/github/delete_handler.py:9
Functionhandle_fork
(data: dict)
wechatter/webhook_handlers/github/fork_handler.py:9
Functionhandle_issue
(data: dict)
wechatter/webhook_handlers/github/issue_handler.py:9
Functionhandle_issue_comment
(data: dict)
wechatter/webhook_handlers/github/issue_comment_handler.py:9
Functionhandle_ping
(data: dict)
wechatter/webhook_handlers/github/ping_handler.py:9
Functionhandle_pr
(data: dict)
wechatter/webhook_handlers/github/pr_handler.py:9
Functionhandle_pr_review
(data: dict)
wechatter/webhook_handlers/github/pr_review_handler.py:9
Functionhandle_push
(data: dict)
wechatter/webhook_handlers/github/push_handler.py:9
Functionhandle_release
(data: dict)
wechatter/webhook_handlers/github/release_handler.py:9
Functionhandle_star
(data: dict)
wechatter/webhook_handlers/github/star_handler.py:9
Functionhelp_command_handler
(to: Union[str, SendTo], message: str = "")
wechatter/commands/_commands/help.py:13
Functionis_file_exist
检查文件是否存在 :param paths: 文件路径(可变参数)
wechatter/utils/file_manager.py:75
Functionis_file_exist
检查文件是否存在 :param *args: 文件路径(可变参数) :return: 文件是否存在
wechatter/utils/path_manager.py:28
Functionis_folder_exist
检查文件夹是否存在 :param paths: 文件夹路径(可变参数)
wechatter/utils/file_manager.py:28
Methodis_group
是否是群消息 :return: 是否是群消息
wechatter/models/wechat/message.py:154
Methodis_official_account
是否是公众号消息 :return: 是否是公众号消息
wechatter/models/wechat/message.py:248
Methodis_quoted
是否引用机器人消息 :return: 是否引用机器人消息
wechatter/models/wechat/message.py:163
Methodis_sticky
是否为表情包消息 :return: 是否为表情包消息
wechatter/models/wechat/message.py:286
Methodis_tickled
是否为拍一拍消息 :return: 是否为拍一拍消息
wechatter/models/wechat/message.py:274
Methodjoin
(self, player, message, game_states)
wechatter/games/_games/tictactoe.py:62
Functionjoin_game_handler
加入游戏
wechatter/games/__init__.py:133
Functionlist_files
列出路径下所有文件(不包括文件夹) :param paths: 路径(可变参数) :param suffix: 文件后缀
wechatter/utils/file_manager.py:105
Functionlist_folder
列出路径下所有文件夹 :param paths: 路径(可变参数)
wechatter/utils/file_manager.py:128
Functionlogging_wrapper
(*args, **kwargs)
wechatter/sender/sender.py:46
Methodmainfunc
设置命令的主函数,这个函数一般是返回命令的结果和命令的引用消息 :param func: 命令的主函数
wechatter/commands/handlers.py:101
Functionmass_send_msg_to_admins
群发消息给所有管理员 :param message: 消息内容 :param type: 消息类型(text、fileUrl) :param quoted_response: 被引用后的回复消息(默认值为 None)
wechatter/sender/sender.py:381
Functionmass_send_msg_to_github_webhook_receivers
群发消息给所有 GitHub Webhook 接收者 :param message: 消息内容 :param type: 消息类型(text、fileUrl) :param quoted_response: 被引用后的回复消息(默认值为 None)
wechatter/sender/sender.py:404
Functionnotify_logged_in
通知登录成功
wechatter/sender/notifier.py:23
Functionnotify_logged_out
通知已退出登录
wechatter/sender/notifier.py:38
Functionnotify_received
通知收到命令请求
wechatter/sender/notifier.py:14
Methodobject_hook
(self, dct)
wechatter/utils/unique_list.py:68
Methodover
(self, message, game_states)
wechatter/games/_games/tictactoe.py:128
Functionover_game_handler
结束游戏
wechatter/games/__init__.py:155
Methodp_alias
(self)
wechatter/models/wechat/send_to.py:30
Methodp_id
(self)
wechatter/models/wechat/send_to.py:20
Methodp_name
(self)
wechatter/models/wechat/send_to.py:25
Functionpai_post_command_handler
(to: Union[str, SendTo], message: str = "")
wechatter/commands/_commands/pai_post.py:22
Functionpai_post_quoted_handler
(to: SendTo, message: str = "", q_response: str = "")
wechatter/commands/_commands/pai_post.py:41
Functionpeople_daily_command_handler
发送人民日报pdf
wechatter/commands/_commands/people_daily.py:17
Functionpeople_daily_url_command_handler
发送人民日报url
wechatter/commands/_commands/people_daily.py:29
Methodplay
(self, player, message, game_states)
wechatter/games/_games/tictactoe.py:66
Functionplay_game_handler
进行一回合游戏
wechatter/games/__init__.py:144
Methodpure_content
获取不带引用的消息内容,即用户真实发送的消息 :return: 不带引用的消息内容
wechatter/models/wechat/message.py:205
Functionqrcode_command_handler
(to: Union[str, SendTo], message: str = "")
wechatter/commands/_commands/qrcode.py:19
Methodquotable_id
获取引用消息的id :return: 引用消息的id
wechatter/models/wechat/message.py:190
Methodquoted_handler
设置命令的引用消息处理函数 :param func: 命令的引用消息处理函数
wechatter/commands/handlers.py:74
Functionrecv_github_webhook
接收 GitHub Webhook
wechatter/app/routers/github.py:12
Functionrecv_wechat_msg
用于接收 wxBotWebhook 转发过来的消息的接口
wechatter/app/routers/wechat.py:31
← previousnext →201–300 of 430, ranked by callers