![]() search_friends () # get user information of specific username itchat. Way 3, 4 can be used together, the following is the demo program: # get your own user information itchat. Get user information whose remark name, wechat account and nickname match what are given to the function Get user information whose remark name or wechat account or nickname matches name key of the function auto_login ( hotReload = True )īy using search_friends, you have four ways to search a user: auto_login ( enableCmdQR =- 1 )īy using the following command, you may reload the program without re-scan QRCode in some time. auto_login ( enableCmdQR = 2 )ĭefault background color of command line is dark (black), if it’s not, you may set enableCmdQR to be negative: itchat. # for some linux system, width of block character is one instead of two, so enableCmdQR should be 2 itchat. auto_login ( enableCmdQR = True )īecause of width of some character differs from systems, you may adjust the enableCmdQR to fix the problem. You can access the QR Code in command line through using this command: itchat. send ( u %s \u2005 I received: %s ' % ( msg. msg_register ( TEXT, isGroupChat = True ) def text_reply ( msg ): if msg. msg_register ( FRIENDS ) def add_friend ( msg ): msg. type, 'fil' ) return %s %s ' % ( typeSymbol, msg. msg_register () def download_files ( msg ): msg. msg_register () def text_reply ( msg ): msg. import itchat, time from ntent import *. The following is a demo of how itchat is configured to fetch and reply daily information. search_friends ( nickName = 'LittleCoder' ) author. msg_register ( TEXT ) def _ ( msg ): # equals to print(msg) print ( msg. They have useful keys and useful interfaces, like. You may find out that all the users and messages of itchat are dictionaries by printing them out onto the screen.īut actually they are useful classes itchat created. You may have a try of the robot based on this project first: run ()įor more advanced uses you may continue on reading or browse the document. TEXT ) def text_reply ( msg ): return msg. send ( 'Hello, filehelper', toUserName = 'filehelper' )Īnd you only need to write this to reply personal text messages. With itchat, if you want to send a message to filehelper, this is how: import itchat itchat. Now Wechat is an important part of personal life, hopefully this repo can help you extend your personal wechat account’s functionality and enbetter user’s experience with wechat. Thanks to the Awesome ChatGPT Prompts repository for inspiring the custom command function for this application.Itchat is an open source api for WeChat, a commonly-used Chinese social networking app.Īccessing your personal wechat account through itchat in python has never been easier.Ī wechat robot can handle all the basic messages with only less than 30 lines of codes.Īnd it’s similiar to itchatmp (api for wechat massive platform), learn once and get two tools.The core implementation of the share button code was copied from the extension with some modifications. ![]() Pop-up Search ( #122 mouse selected content, no more than 400 characters): The application is built using Tauri, and due to its security restrictions, some of the action buttons will not work, so we recommend going to your browser.Support for slash commands and their configuration (can be configured manually or synchronized from a file #55).Automatic application upgrade notification.Export ChatGPT history (PNG, PDF and Markdown).You can also use Sync Prompts to sync all in one click, and if you don't want certain prompts to appear in your slash commands, you can disable them. You can look at awesome-chatgpt-prompts to find interesting features to import into the app. ChatGPT_1.1.0_linux_x86_64.: Works reliably, you can try it if.deb installer, advantage small size, disadvantage poor compatibility Sudo xattr -r -d /YOUR_PATH/ChatGPT.app Linux ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |