![]() ![]() 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. Use postMessage to send a message to claude. 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. Maybe releasing this script now is a bit late.Īfter several tests on my server, i've fixed most of the bugs and convert 'match' to 'elif', it now works just fine. Level up.Recently I found that claude can not be installed into slack anymore due to high demand. Ditch the frustrating and ineffective “stuff scattered everywhere” multi-app approach, and switch to Basecamp’s all-in-one, unified, and organized project management method instead. ![]() Who uses Basecamp? Top notch marketing firms, ad agencies, design shops, software developers, client services firms, IT firms, consultants, freelancers, builders, contractors, publishers, schools, governments, religious organizations, charities, non-profits, first responders… Over 75,000 organizations, big and small, across every industry imaginable, from 166 countries on five continents. You never know what you had until it’s gone. It’s why those that leave end up coming back and sticking with us the second time around. It’s why teams that sometimes leave in search of “more power” end up slamming into the consequences of over-powered software: Complexity. Not on separate platforms scattered in various places, but all intuitively organized in one centralized place where everyone can work together, no matter if work is in an office or remote.īasecamp’s intentionally simple by design. Highly recommended.”īasecamp works because it’s the easiest place for everyone in every role to put the stuff, work on the stuff, discuss the stuff, decide on the stuff, and deliver the stuff that makes up every project. It’s beautiful software that has resisted every wrong trend and stayed true to the things that mattered most. Perfected and pressure-tested by hundreds of thousands of teams on millions of projects, Basecamp’s the gold standard for a simpler, superior version of project management.Īs Tobi Lütke, Shopify’s CEO says, “I’ve used Basecamp for a million projects over the last decade and a half. For nearly two decades, we’ve continually refined a unique set of tools and methods to fundamentally reduce complexity, and make project management more of a joy and less of a chore. ![]()
0 Comments
Leave a Reply. |