Super kawaii Chat bot for Telegram
You can use following command:
Command | Options | Description | Required permission |
---|---|---|---|
/hello |
- | Says hello to you | - |
/wiki |
Title of article | Searches an article in Wikipedia | - |
/webarchive |
URL | Requests to archive the web page with archive.org (beta) | - |
/timezone |
Timezone name | Convert current time at the timezone | - |
/leave |
- | Leave from group | can_restrict_members |
First, you need to specify certificate for webhook, authorization token of the bot, and your web domain in .env
. Here's an example:
APP_HOST=minazuki.neet.love
APP_PORT=3000
AUTHORIZATION_TOKEN=510130471:ashdfjkalsdjfhalkjshdfkl
SSL_CERT=/path/to/your/public-key/file.pem
Then, install dependent packages:
yarn install --pure-lockfile
Then, you can start the app just by:
npm start
npm run test