https://github.com/cjaewon/letterbot
Github Action 으로 만든 디스코드, 슬랙에 매일 아침 8시에 브리핑을 해주는 봇입니다
https://github.com/cjaewon/letterbot
discordbot github-action slackbot webhook
Last synced: 9 months ago
JSON representation
Github Action 으로 만든 디스코드, 슬랙에 매일 아침 8시에 브리핑을 해주는 봇입니다
- Host: GitHub
- URL: https://github.com/cjaewon/letterbot
- Owner: cjaewon
- License: mit
- Created: 2020-03-17T10:07:31.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-08T21:59:16.000Z (about 3 years ago)
- Last Synced: 2025-04-03T05:24:06.537Z (about 1 year ago)
- Topics: discordbot, github-action, slackbot, webhook
- Language: TypeScript
- Homepage:
- Size: 86.9 KB
- Stars: 38
- Watchers: 1
- Forks: 19
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 편지봇
📨 Github Action 으로 만든 디스코드, 슬랙에 매일 아침 8시에 브리핑을 해주는 봇입니다




### 사용 예시
#### 디스코드 웹훅

#### 슬랙 웹훅

### ⚙️ 설정법
**cjaewon/letterbot을 먼저 Fork 해주세요. / 또는 클론 하셔서 레포를 만드셔도 됩니다.**.
봇 작동을 위해서는 깃허브 secrets에 WEATHER_API_KEY 와 WEBHOOKS가 필요합니다

#### WEATHER_API
WEATHER_API_KEY는 [Weather Api](https://openweathermap.org/api) 에서 생성이 가능해요.
#### WEBHOOKS
WEBHOOKS는 웹훅 링크를 콤마로 구분한 것입니다
##### 한개 일때
`https://webhooklinkexample.letterbot`
##### 두개 이상
```
https://webhooklinkexample1.letterbot,
https://webhooklinkexample2.letterbot,
https://webhooklinkexample3.letterbot,
https://webhooklinkexample4.letterbot
```
이렇게 콤마로 구분해주시면 됩니다.
그럼 인제 매일 아침 8시마다 디스코드 또는 슬랙에 메세지를 보내드립니다
만약 시간을 수정하고 싶으시면 `.github/workflows/nodejs.yml` cron 시간을 변경하시면 됩니다 (UTC 기준입니다.)