birlug / WiseAssBot

WiseAssBot (AKA MrKnowItAll)
2 stars 1 forks source link
cloudflare-workers hacktoberfest serverless telegram

WiseAssBot

WiseAssBot (AKA MrKnowItAll) is a serverless telegram bot designed to manage the group with more ease.

Quick Start

  1. Create an API token from the cloudflare dashboard.
  2. Create a .env file based on .env.example and fill the values based on your tokens
Variable Description
CLOUDFLARE_API_TOKEN The API key retrieved from Cloudflare dashboard
TOKEN Telegram bot token
KV_BINDING KV namespace binding
KV_ID KV namespace ID

Read more about KV bindings here.

  1. Prepare your developing environment by:

    $ make prepare
  2. Upload the config on KV storage

NOTE: Skip this step if you uploaded your config before

$ make config-upload
  1. Deploy
    $ make deploy