Back to Blog
Slack login with email7/8/2023 ![]() ![]() You can try to do it on your own, the function is ClaudeApp.getHistory(). the responses depend on timestamp and fp(i set it to 30), it returns a maximum of 30 messages which happens before a specific timestamp. I got the API but I haven’t done anything to it, haven’t figured out how to write it. To do it, you just have to call the function under the ClaudeApp execCmd(cmd), if it’s “/reset”, it will be noticed in wss. ![]() ![]() Execute cmdĬlaude has only one command /reset, but i manage to make a function for that just in case it updates some new commands. Every chat message will be received through wss and then be parsed and forward to WebSocketServer. When setting up personal notifications by going to Settings & members My notifications & settings Slack Notifications Add new account. Connect the right people, find anything you need and automate the rest. Use postMessage to send a message to claude. Slack is your productivity platform Slack. Use connect() in ClaudeApp, this will automatically match the channel which claude is in and connect to the wss that slack provides chat Login_selTeam( option)Īfter this, the login status will be saved. teamlist option = teamlist # choose a team xoxd. Setup fastapi and nodejs server’s host and port in config.json: Use checkEnv() to see if it’s been saved and use getEnv() to load it. This graph may not be professional but i hope it makes it much easier for you to understand the code Saved login statusĮvery time after a successful login, the cookies, api-token, user_id, team_id will be saved into a json file named by your email. This graph may not be professional but i hope it makes it much easier for you to understand the code Login for the first time This project is for study purposes only, if you just want claude-in-slack’s API, then slack_sdk would be a pretty good option. Please let me know if there’s something wrong on your computer. After you integrate the web application with MicroStrategy. Maybe releasing this script now is a bit late.Īfter test it for a few times on my server, i’ve fixed most of the bugs and convert ‘match’ to ‘elif’, it now works just fine. Slack users can log in using their smartphones to scan a QR code displayed on the computer screen. Recently I found that claude can not be installed into slack anymore due to high demand. ![]()
0 Comments
Read More
Leave a Reply. |