https://github.com/yeukfei02/weather-hk-bot
Hong Kong Weather Bot
https://github.com/yeukfei02/weather-hk-bot
javascript nodejs telegram telegram-bot weather weather-hk-bot
Last synced: about 1 month ago
JSON representation
Hong Kong Weather Bot
- Host: GitHub
- URL: https://github.com/yeukfei02/weather-hk-bot
- Owner: yeukfei02
- License: mit
- Created: 2016-07-09T03:30:09.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2024-01-09T16:30:39.000Z (over 2 years ago)
- Last Synced: 2025-10-20T08:15:08.455Z (8 months ago)
- Topics: javascript, nodejs, telegram, telegram-bot, weather, weather-hk-bot
- Language: JavaScript
- Homepage:
- Size: 2.56 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
# weather-hk-bot
Hong Kong Weather Bot
## Requirement
- install yarn
- install node (v12+)
## Testing and run
```zsh
$ yarn
// development
$ yarn run dev
// production
$ yarn run start
// use eslint and prettier to format code
$ yarn run lint
```
## Example command
Show all example command
```zsh
/start
```
List out the topic of current weather, warning
```zsh
/tellMeCurrentAndWarning
```
Echo back the current info in forecast feed
```zsh
/tellMeCurrent
```
Echo back the current info in weather warning
```zsh
/tellMeWarning
```
Enable warning message
```zsh
/subscribeWarning
```
Disable warning message
```zsh
/unsubscribeWarning
```
Set content in Traditional Chinese
```zsh
/繁體中文
```
Set content in Simplified Chinese
```zsh
/简体中文
```
Set content in English
```zsh
/english
```
## Contributing
Please refer to [CONTRIBUTING.md](https://github.com/yeukfei02/weather-hk-bot/blob/master/CONTRIBUTING.md)