Kantek is a userbot written in Python using Telethon.
Kantek is mostly built to help with the Administration of chats and is the main source for SpamWat.ch. Because of that it checks every message your account receives for blacklisted items, this includes strings, domains, top level domains, files, images and telegram entities. This means that for every message your account receiver kantek might make multiple http requests an resolve multiple telegram entities. The latter might lead to large (6+ hours) Floodwaits from Telegram.
If you want to use kantek without the administration part, simply remove the plugins/autobahn
folder to disable these features.
Python 3.6+ is required to run the bot. ArangoDB is used to store bot data.
- Copy the example config file to
config.json
- Create a user and a Database in ArangoDB. Give the user full permissions to the Database. (if the database and user are called
kantek
they can be skipped in the config) - Put the Authentication data into the config file.
- Run bot.py