0.3.0 • Published 4 years ago

sachan-bot v0.3.0

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

🌸 Sachan

Source code for Telegram bot @sachanbot, a multifunctional Telegram bot built with Telegraf. It is highly extensible and suitable as a scaffold/reference for your own bot.

Setup

The following environment variables should be provided:

  • BOT_TOKEN: Telegram bot token. Click here to create a bot.
  • (Optional) DEEPAI_API_KEY: DeepAI API key for /waifu2x command.

Using Vercel and Webhooks (recommended)

  1. Configure the environment variables in vercel.json.
  2. Deploy to Vercel.
  3. Set up the Webhook: https://api.telegram.org/bot<token>/setWebhook?url=<url> (Make sure to use a private URL!)

Using polling

  1. Configure the environment variables.
  2. Install sachan-bot npm package.
  3. Run sachan-bot to launch the bot.

Why the name

That's how Himawari calls Sakurako.

0.3.0

4 years ago

0.2.0

4 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago