Skip to content

Instantly share code, notes, and snippets.

View Bergiu's full-sized avatar
🫑

Marco Schlicht Bergiu

🫑
View GitHub Profile
#!/usr/bin/env python3
# License:
# https://www.gnu.org/licenses/gpl-3.0.en.html
# requirements:
# - [python-telegram-bot](https://github.com/python-telegram-bot/python-telegram-bot/)
# - `pip3 install python-telegram-bot`
from telegram.ext import CommandHandler, MessageHandler, Filters, Updater
from telegram import Message, Update, Bot
from telegram.ext import BaseFilter
@Bergiu
Bergiu / RemoveBluetexts.py
Created May 28, 2018 15:59
Small Telegram-Bot that removes all /commands
#!/usr/bin/env python3
# requirements:
# - [python-telegram-bot](https://github.com/python-telegram-bot/python-telegram-bot/)
# - `pip3 install python-telegram-bot`
from telegram.ext import CommandHandler, MessageHandler, Filters, Updater
from telegram import Message, Update, Bot
from telegram.ext import BaseFilter
import logging
import sys
decode_matrix = {
'A': 'Α',
'a': 'α',
'B': 'Β',
'b': 'β',
'C': 'Χ',
'c': 'χ',
'D': 'Δ',