An open API service indexing awesome lists of open source software.

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

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)