Commit dfb16007 authored by Nicolas Lenz's avatar Nicolas Lenz
Browse files

Add new file

parent 26b511e6
# benötigt python-telegram-bot
from telegram.ext import Updater, RegexHandler
import time
TOKEN_FILE = "token"
def delete(bot, update):
bot.send_sticker(, reply_to_message_id=update.message.message_id, sticker='CAADBAAD5QADfkZFAAGPqgEddkSmkgI')
token = open(TOKEN_FILE, "r").read().rstrip()
updater = Updater(token=token)
updater.dispatcher.add_handler(RegexHandler('.*\\b[uU]\s*([wWωɯ]|[vV]\s*[vV])\s*[uU]\\b.*', delete))
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment