Skip to content

Instantly share code, notes, and snippets.

View DeNcHiK3713's full-sized avatar

Denis Suchok DeNcHiK3713

View GitHub Profile
::-webkit-scrollbar {
display: none;
}
body,
div,
html {
background-color: rgba(0, 0, 0, 0) !important;
border: 0 !important;
}
@DeNcHiK3713
DeNcHiK3713 / printerbot.py
Last active January 12, 2023 14:32 — forked from PolarNick239/printerbot.py
Telegram bot for printer (Linux)
import os
import pathlib
import logging
from telegram.ext import Updater
from telegram.ext import Filters
from telegram.ext import CommandHandler
from telegram.ext import MessageHandler
# This is the Telegram Bot that prints all input documents. It can print pdf and txt files.
# Before sending files for printing user must enter the password by command "/auth <password>".