Telegram bot to delete messages sent outside of threads
  • Python 90.1%
  • Dockerfile 9.9%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Steffo 8a3a349d63
All checks were successful
Build and push container image via docker buildx / Build and push container image via docker buildx (push) Successful in 7m0s
Replace forge.steffo.eu with g.starshard.space
2026-08-05 17:40:46 +02:00
.forgejo/workflows Update Forgejo Actions workflows 2026-08-05 17:40:22 +02:00
.idea Update Forgejo Actions workflows 2026-08-05 17:40:22 +02:00
.media Update readme 2025-11-13 01:40:17 +01:00
.vscode Add tamasfe.even-better-toml to vscode extension recommendations 2025-11-13 03:35:15 +01:00
threadkiller Replace forge.steffo.eu with g.starshard.space 2026-08-05 17:40:46 +02:00
.containerignore Rename .dockerignore to .containerignore 2026-08-05 17:38:53 +02:00
.gitignore Add more features 2022-06-22 19:21:22 +02:00
Containerfile Replace forge.steffo.eu with g.starshard.space 2026-08-05 17:40:46 +02:00
LICENSE.txt Relicense to EUPL-1.2 2025-11-13 00:47:11 +01:00
poetry.lock Rewrite pyproject.toml in new format 2025-11-13 00:58:01 +01:00
pyproject.toml Replace forge.steffo.eu with g.starshard.space 2026-08-05 17:40:46 +02:00
README.md Replace forge.steffo.eu with g.starshard.space 2026-08-05 17:40:46 +02:00

Threadkiller

Telegram bot to delete messages sent outside of threads

Quick setup

Add @the_threadkiller_bot to a Telegram group of your choice, then give it permission to Delete messages and to Pin messages.

Why?

Telegram discussion groups are buggy and weird.
Sending a message there without it being a reply to any other message means that channel viewers will not see it, despite the message probably being a reply to the immediately previous message.

This bot deletes all messages sent in the groups it's in except for replies to channel messages or messages starting with /thread.

Commands

  • /start - In private chats, display information about Threadkiller.
  • /version - View the currently running version of Threadkiller.
  • /thread - Start a new thread with the given title.

Use

Usable on Telegram

Tools

Written in Python

Packaging

Available on PyPI Available on Forgejo Packages

Documentation

Documentation available Licensed under EUPL-1.2

Development

Code repository Releases Issues Pull requests