Telegram bot for chat based on Node JS using API SimSimi by Me
- Clone this repo :
git clone https://github.com/fikiismyname/simsimi-bot.git
cd simsimi-bot
Make sure NodeJS and npm is installed
- Install required npm packages :
npm install
- Copy example .env.example as .env :
cp .env.example .env
Fill up all the fields. Meaning of each fields are discussed below:
- BOT_TOKEN : The telegram bot token that you get from @BotFather
- BOT_LANG : This is for bot language settings Windows Locale Codes
- BOT_TIMEZONE : This is your timezone area setting List of tz database time zones
- API_URL : The API URL that you get from Free Simsimi API
- Start the bot by using this command :
npm start
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Reference & Thanks
- Moment Timezone: Github Repo
- Free Simsimi API: Website
- Node.js Telegram Bot API: Github Repo
- Axios - Promise based HTTP client for the browser and node.js: Github Repo