Skip to content
/ kantek Public
forked from kantek/kantek

kantek is a userbot written in Python using Telethon.

License

Notifications You must be signed in to change notification settings

EBG-PW/kantek

 
 

Repository files navigation

Kantek

Kantek is a userbot written in Python using Telethon.

A word of warning

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 receives 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.

Requirements

Python 3.8+ is required to run the bot. Postgres is used to store data.

Setup

  • Copy the example config file to config.json

PostgreSQL

  • Create a database and a user in postgres
  • look in DATABASE.sql for an example database setup

After setting up the database:

  • Put the Authentication data into the config file.
  • Run bot.py

About

kantek is a userbot written in Python using Telethon.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.8%
  • Other 0.2%