{"id":15605901,"url":"https://github.com/jacoblee93/slack-tutorial-bot","last_synced_at":"2026-05-08T17:45:01.928Z","repository":{"id":79498490,"uuid":"278690232","full_name":"jacoblee93/slack-tutorial-bot","owner":"jacoblee93","description":"A simple Slack bot you can set up in a few minutes on Autocode","archived":false,"fork":false,"pushed_at":"2020-07-16T01:01:58.000Z","size":1046,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-09T05:30:25.089Z","etag":null,"topics":["autocode","nodejs","slack","slackbot"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jacoblee93.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-10T17:08:24.000Z","updated_at":"2023-08-28T01:54:38.000Z","dependencies_parsed_at":"2023-06-26T20:02:24.318Z","dependency_job_id":null,"html_url":"https://github.com/jacoblee93/slack-tutorial-bot","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacoblee93%2Fslack-tutorial-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacoblee93%2Fslack-tutorial-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacoblee93%2Fslack-tutorial-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jacoblee93%2Fslack-tutorial-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jacoblee93","download_url":"https://codeload.github.com/jacoblee93/slack-tutorial-bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247043275,"owners_count":20874085,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["autocode","nodejs","slack","slackbot"],"created_at":"2024-10-03T04:18:35.510Z","updated_at":"2026-05-08T17:44:56.888Z","avatar_url":"https://github.com/jacoblee93.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Basic Autocode Slack Bot\n\n### Deploy Now\n\n[\u003cimg src=\"https://open.autocode.com/static/images/open.svg?\" width=\"192\"\u003e](https://open.autocode.com/)\n\nThis is a basic, fully customizable example Slack Bot that you can install into your Slack workspace in just a few clicks by deploying it to [Autocode](https://autocode.com). Right out of the box, your bot will:\n\n1. Respond to a [Slack slash command](https://api.slack.com/interactivity/slash-commands) called `hello` by sending a reply message from the bot containing whatever text follows the command.\n1. Send a friendly welcome message to users who join a new channel in your Slack workspace.\n\nThis behavior is completely customizable by editing the bot code. The only things you'll need are an [Autocode account](https://autocode.com) and a Slack workspace!\n\n## Hello Command\n\nOnce installed, typing `/cmd hello \u003ctext\u003e` will trigger `/functions/events/slack/command/hello.js` and provide an output that look like this:\n\n![](./images/hello-message.png)\n\n## Member Joined Channel Handler\n\nWhen a member joins a public channel, your bot will respond to the resulting [member_joined_channel](https://api.slack.com/events/member_joined_channel) event from Slack by running `/functions/events/slack/member_joined_channel.js`. This will generate a message like this:\n\n![](./images/joined-channel-message.png)\n\n## Deploying This Slack Bot\n\nYou can deploy this Slack Bot to Autocode by clicking the button below:\n\n[\u003cimg src=\"https://open.autocode.com/static/images/open.svg?\" width=\"192\"\u003e](https://open.autocode.com/)\n\nYou'll be asked to log in and choose a name for your project. Do so, and the project editor will open. Open `functions/events/slack/member_joined_channel.js`, and you'll see a bouncing red button on the bottom of your screen.\n\n![](./images/editor-screen.png)\n\nClick it and follow the instructions under **Install Autocode App** to link your Slack workspace. Finally, hit the blue **Deploy** button in the bottom right corner to push your project live. That's it, you're done!\n\n**Note:** Creating and linking your own custom Slack app rather than the official Autocode app will allow you to trigger this command as `/hello` (without the `/cmd`), but is a more complex process –– we recommend starting simple and swapping in the custom app later if desired.\n\n## Thank You!\n\nPlease check out [Autocode](https://autocode.com) or follow us on Twitter, [@AutocodeHQ](https://twitter.com/AutocodeHQ).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacoblee93%2Fslack-tutorial-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjacoblee93%2Fslack-tutorial-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjacoblee93%2Fslack-tutorial-bot/lists"}