Reporting and information bot for SpamWatch. See me in action at https://t.me/SpamWatchBot.
This bot was created using grammY and TypeScript. To build the bot for production just use npm build
and then run the bot with node dist/main.js
. Running in development can be done with npm start
.
The API token given by @BotFather on Telegram.
The host to use for the SpamWatch API.
The API key to use for the SpamWatch API.
The chat in which to send reports. Reports can be forwarded to the bot, or created using the /report
command. The bot will then send them on to the given chat. The bot does need to be in the chat to send messages to it of course.
The chat where unban requests are forwarded. This may also be used for other things, such as logging in the future.
A comma separated list of admins that should be able to reply to unban requests.
API token for Loggly. This is used for logging event to the cloud and is not necessary for running the bot.
Subdomain for Loggly.
A comma separated list of tags to use with Loggly.