Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Cassius0924/WeChatter
/ functions
Functions
430 in github.com/Cassius0924/WeChatter
⨍
Functions
430
◇
Types & classes
78
↳
Endpoints
26
Function
remove_todo_command_handler
(to: Union[str, SendTo], message: str = "")
wechatter/commands/_commands/todo.py:42
Function
rename_file
重命名文件 :param file_path: 文件路径 :param new_name: 新文件名
wechatter/utils/file_manager.py:184
Function
retry_wrapper
(func)
wechatter/sender/sender.py:24
Function
send_localfile_msg
发送本地文件 :param to: 接收者 :param file_path: 文件路径 :param is_group: 是否为群组
wechatter/sender/sender.py:338
Function
send_msg
发送消息 当传入的第一个参数是字符串时,is_group 默认为 False。 当传入的第一个参数是 SendTo 对象时,is_group 默认为 True。 当 quoted_response 不为 None 时,该消息为可引用消息。表示该消息被 引
wechatter/sender/sender.py:139
Function
send_msg_list
发送多条消息,消息类型相同 :param to: 接收者 :param message_list: 消息内容列表 :param is_group: 是否为群组 :param type: 消息类型(text、fileUrl)
wechatter/sender/sender.py:241
Function
send_to_discord
发送消息到 Discord :param webhook_url: Discord 频道 Webhook URL :param message: 消息内容 :param person: 用户 :param group: 群组
wechatter/sender/sender.py:436
Method
sender_name
返回消息发送对象名,如果是群则返回群名,如果不是则返回人名 :return: 消息发送对象名
wechatter/models/wechat/message.py:181
Method
setUp
(self)
tests/commands/test_bili_hot/test_bili_hot.py:8
Method
setUp
(self)
tests/commands/test_weibo_hot/test_weibo_hot.py:8
Method
setUp
(self)
tests/commands/test_food_calories/test_food_calories.py:11
Method
setUp
(self)
tests/commands/test_today_in_history/test_today_in_history.py:8
Method
setUp
(self)
tests/commands/test_zhihu_hot/test_zhihu_hot.py:8
Method
setUp
(self)
tests/commands/test_github_trending/test_github_trending.py:11
Method
setUp
(self)
tests/commands/test_translate/test_translate.py:9
Method
setUp
(self)
tests/commands/test_weather/test_weather.py:11
Method
setUp
(self)
tests/commands/test_qrcode/test_qrcode.py:11
Method
setUp
(self)
tests/commands/test_pai_post/test_pai_post.py:11
Method
setUp
(self)
tests/commands/test_gasoline_price/test_gasoline_price.py:10
Method
setUp
(self)
tests/commands/test_douyin_hot/test_douyin_hot.py:8
Method
setUp
(self)
tests/commands/test_trivia/test_trivia.py:11
Function
shutdown
()
wechatter/app/app.py:31
Method
start
(self, game_states)
wechatter/games/_games/tictactoe.py:56
Function
start_game_handler
开始游戏
wechatter/games/__init__.py:122
Function
startup
()
wechatter/app/app.py:24
Method
sticky_url
获取表情包的URL :return: 表情包的URL
wechatter/models/wechat/message.py:298
Method
tearDown
(self)
tests/commands/test_qrcode/test_qrcode.py:15
Method
test_auto_translate
(self)
tests/commands/test_translate/test_translate.py:55
Method
test_check_lang_support
(self)
tests/commands/test_translate/test_translate.py:30
Method
test_check_model_by_lang
(self)
tests/commands/test_translate/test_translate.py:44
Method
test_detect_lang
(self)
tests/commands/test_translate/test_translate.py:16
Method
test_extract_bili_hot_data_failure
(self)
tests/commands/test_bili_hot/test_bili_hot.py:17
Method
test_extract_bili_hot_data_success
(self)
tests/commands/test_bili_hot/test_bili_hot.py:13
Method
test_extract_douyin_hot_data_failure
(self)
tests/commands/test_douyin_hot/test_douyin_hot.py:17
Method
test_extract_douyin_hot_data_success
(self)
tests/commands/test_douyin_hot/test_douyin_hot.py:13
Method
test_extract_today_in_history_data_failure
(self)
tests/commands/test_today_in_history/test_today_in_history.py:19
Method
test_extract_today_in_history_data_success
(self)
tests/commands/test_today_in_history/test_today_in_history.py:15
Method
test_extract_transliteration_data_runtime_error
(self)
tests/commands/test_translate/test_translate.py:110
Method
test_extract_transliteration_data_success
(self)
tests/commands/test_translate/test_translate.py:106
Method
test_extract_weibo_hot_data_failure
(self)
tests/commands/test_weibo_hot/test_weibo_hot.py:17
Method
test_extract_weibo_hot_data_success
(self)
tests/commands/test_weibo_hot/test_weibo_hot.py:13
Method
test_extract_zhihu_hot_data_failure
(self)
tests/commands/test_zhihu_hot/test_zhihu_hot.py:17
Method
test_extract_zhihu_hot_data_success
(self)
tests/commands/test_zhihu_hot/test_zhihu_hot.py:13
Method
test_generate_bili_hot_message_empty_list
(self)
tests/commands/test_bili_hot/test_bili_hot.py:26
Method
test_generate_bili_hot_message_success
(self)
tests/commands/test_bili_hot/test_bili_hot.py:21
Method
test_generate_bili_hot_quoted_response_success
(self)
tests/commands/test_bili_hot/test_bili_hot.py:30
Method
test_generate_douyin_hot_message_empty_list
(self)
tests/commands/test_douyin_hot/test_douyin_hot.py:26
Method
test_generate_douyin_hot_message_success
(self)
tests/commands/test_douyin_hot/test_douyin_hot.py:21
Method
test_generate_douyin_hot_quoted_response_success
(self)
tests/commands/test_douyin_hot/test_douyin_hot.py:30
Method
test_generate_food_message_failure
(self)
tests/commands/test_food_calories/test_food_calories.py:60
Method
test_generate_food_message_success
(self)
tests/commands/test_food_calories/test_food_calories.py:55
Method
test_generate_github_trending_message_success
(self)
tests/commands/test_github_trending/test_github_trending.py:29
Method
test_generate_github_trending_quoted_response_success
(self)
tests/commands/test_github_trending/test_github_trending.py:38
Method
test_generate_pai_post_message_success
(self)
tests/commands/test_pai_post/test_pai_post.py:27
Method
test_generate_pai_post_quoted_response_success
(self)
tests/commands/test_pai_post/test_pai_post.py:36
Method
test_generate_qrcode_success
(self)
tests/commands/test_qrcode/test_qrcode.py:19
Method
test_generate_today_in_history_message_empty_list
(self)
tests/commands/test_today_in_history/test_today_in_history.py:28
Method
test_generate_today_in_history_message_success
(self)
tests/commands/test_today_in_history/test_today_in_history.py:23
Method
test_generate_translate_message
(self)
tests/commands/test_translate/test_translate.py:116
Method
test_generate_trivia_message_empty_list
(self)
tests/commands/test_trivia/test_trivia.py:32
Method
test_generate_trivia_message_success
(self)
tests/commands/test_trivia/test_trivia.py:27
Method
test_generate_weather_message_success
(self)
tests/commands/test_weather/test_weather.py:73
Method
test_generate_weibo_hot_message_empty_list
(self)
tests/commands/test_weibo_hot/test_weibo_hot.py:26
Method
test_generate_weibo_hot_message_success
(self)
tests/commands/test_weibo_hot/test_weibo_hot.py:21
Method
test_generate_weibo_hot_quoted_response_success
(self)
tests/commands/test_weibo_hot/test_weibo_hot.py:30
Method
test_generate_zhihu_hot_message_empty_list
(self)
tests/commands/test_zhihu_hot/test_zhihu_hot.py:26
Method
test_generate_zhihu_hot_message_empty_list
(self)
tests/commands/test_github_trending/test_github_trending.py:34
Method
test_generate_zhihu_hot_message_empty_list
(self)
tests/commands/test_pai_post/test_pai_post.py:32
Method
test_generate_zhihu_hot_message_success
(self)
tests/commands/test_zhihu_hot/test_zhihu_hot.py:21
Method
test_generate_zhihu_hot_quoted_response_success
(self)
tests/commands/test_zhihu_hot/test_zhihu_hot.py:30
Method
test_get_city_id_failure
(self)
tests/commands/test_gasoline_price/test_gasoline_price.py:37
Method
test_get_city_id_key_error
(self)
tests/commands/test_weather/test_weather.py:29
Method
test_get_city_id_success
(self)
tests/commands/test_weather/test_weather.py:23
Method
test_get_city_id_success
(self)
tests/commands/test_gasoline_price/test_gasoline_price.py:33
Method
test_get_food_detail_list_failure
(self)
tests/commands/test_food_calories/test_food_calories.py:39
Method
test_get_future_weather_empty_list
(self)
tests/commands/test_weather/test_weather.py:102
Method
test_get_future_weather_success
(self)
tests/commands/test_weather/test_weather.py:90
Method
test_get_gasoline_price_str_failure
(self)
tests/commands/test_gasoline_price/test_gasoline_price.py:20
Method
test_get_people_daily_url_success
(self)
tests/commands/test_people_daily/test_people_daily.py:7
Method
test_get_people_daily_value_error
(self)
tests/commands/test_people_daily/test_people_daily.py:14
Method
test_get_url_encoding_success
(self)
tests/commands/test_food_calories/test_food_calories.py:64
Method
test_parse_c_weather_index_error
(self)
tests/commands/test_weather/test_weather.py:69
Method
test_parse_c_weather_json_decode_error
(self)
tests/commands/test_weather/test_weather.py:65
Method
test_parse_c_weather_success
(self)
tests/commands/test_weather/test_weather.py:61
Method
test_parse_food_detail_response_failure
(self)
tests/commands/test_food_calories/test_food_calories.py:49
Method
test_parse_food_detail_response_success
(self)
tests/commands/test_food_calories/test_food_calories.py:43
Method
test_parse_food_href_list_response_failure
(self)
tests/commands/test_food_calories/test_food_calories.py:35
Method
test_parse_food_href_list_response_success
(self)
tests/commands/test_food_calories/test_food_calories.py:29
Method
test_parse_gasoline_price_response_failure
(self)
tests/commands/test_gasoline_price/test_gasoline_price.py:29
Method
test_parse_gasoline_price_response_success
(self)
tests/commands/test_gasoline_price/test_gasoline_price.py:24
Method
test_parse_github_trending_response_failure
(self)
tests/commands/test_github_trending/test_github_trending.py:25
Method
test_parse_github_trending_response_success
(self)
tests/commands/test_github_trending/test_github_trending.py:21
Method
test_parse_hourly_weather_response_bs4_parsing_error
(self)
tests/commands/test_weather/test_weather.py:37
Method
test_parse_hourly_weather_response_index_error
(self)
tests/commands/test_weather/test_weather.py:45
Method
test_parse_hourly_weather_response_json_decode_error
(self)
tests/commands/test_weather/test_weather.py:53
Method
test_parse_hourly_weather_response_success
(self)
tests/commands/test_weather/test_weather.py:33
Method
test_parse_pai_post_response_failure
(self)
tests/commands/test_pai_post/test_pai_post.py:23
Method
test_parse_pai_post_response_success
(self)
tests/commands/test_pai_post/test_pai_post.py:19
Method
test_parse_reverso_context_response_success
(self)
tests/commands/test_translate/test_translate.py:77
Method
test_parse_reverso_context_response_value_error
(self)
tests/commands/test_translate/test_translate.py:100
← previous
next →
301–400 of 430, ranked by callers