PlaguBotExample
This repository contains the sample of Telegram Bot based on PlaguBot.
What can this bot do?
In case you will use config.json as base config for your bot, you will get:
- Captcha
- Bans
- Welcome
In one bot.
How does it work?
In config.json you may see plugins
section: it is the list of plugins you will include in your bot.
Besides, there are several other sections:
botToken
- the bot tokenflushUpdates
- if this option set totrue
, after bot restart the accumulated updates will be skippedclearCommands
- will force reset the commands ofbot
on each startdatabase
- settings of the database. You may use any database available with JDBC Technology (likePostgres
). For more info see DatabaseConfig.kt