Skip to content

Commit

Permalink
Initial commit for v4 on Bolt
Browse files Browse the repository at this point in the history
  • Loading branch information
KeesCBakker committed Jul 31, 2023
1 parent 7c6b026 commit 3f6244a
Show file tree
Hide file tree
Showing 19 changed files with 5,123 additions and 2,842 deletions.
9 changes: 1 addition & 8 deletions .example.env
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,7 @@

# place your Hubot token here, uncomment this line:
HUBOT_SLACK_TOKEN=xoxb-

# Migrate away from using deprecated SlackDataStore
# see: https://github.com/slackapi/node-slack-sdk/wiki/DataStore-v3.x-Migration-Guide
# (also fixed "Socket URL has expired" error)
HUBOT_SLACK_RTM_CLIENT_OPTS='{ "dataStore": false, "useRtmConnect": true }'

# don't let Hubot setup an HTTP server
HUBOT_HELP_DISABLE_HTTP=true
HUBOT_SLACK_APP_TOKEN=xapp-`

# log level - normally set to info
HUBOT_LOG_LEVEL=error
Expand Down
2 changes: 1 addition & 1 deletion .ncurc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"upgrade": true,
"reject": ["del-cli", "node-fetch", "hubot", "@types/hubot"]
"reject": ["node-fetch"]
}
7 changes: 4 additions & 3 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"tabWidth": 2,
"useTabs": false,
"semi": false,
"useTabs": false,
"tabWidth": 2,
"arrowParens": "avoid",
"endOfLine": "lf",
"printWidth": 120,
"arrowParens": "avoid"
"trailingComma": "none"
}
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,11 @@
# bot-zero

<a href="https://hubot.github.com/">Hubot</a> is a fantastic project that enabled us to build great bots. The **bot-zero** project aims to give you a cleaned up version with some examples that run on TypeScript (instead of Coffee-script).
<a href="https://hubot.github.com/">Hubot</a> is a fantastic project that enabled us to build great bots. The **bot-zero** project aims to give you a cleaned up version with some examples that run on TypeScript (instead of Coffee-script). This bot uses the <a href="https://slack.dev/bolt-js/">Slack Bolt</a>.

[![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://github.com/wehkamp/bot-zero/blob/master/LICENSE.md)

Blog: https://medium.com/wehkamp-techblog/jump-starting-slack-bot-projects-bot-zero-991b9654585e

**⚠️ WHATEVER YOU DO... NEVER (!!) LISTEN TO THIS ON SLACK! ⚠️**

> Slack has improved how we handle permissions for apps, so you can now request only the specific scopes your app needs. We recommend updating your app’s scopes.
**⚠️ YOU'LL END UP WRECKING YOUR SETUP. ⚠️**

## Getting started

This project supports dev containers, so you don't have to install nodejs to your environment.
Expand Down
2 changes: 1 addition & 1 deletion external-scripts.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
["hubot-help"]
[]
Loading

0 comments on commit 3f6244a

Please sign in to comment.