přidal jsem žlinceraldy

This commit is contained in:
2026-03-15 19:17:27 +01:00
parent c9dc7e1d4c
commit 4332602887
17 changed files with 18 additions and 0 deletions

18
main.py
View File

@@ -12,6 +12,24 @@ print(API_KEY) # testžím
CHANCE = 1.0 CHANCE = 1.0
IMAGE_FOLDER = "obruzky"
VIDEO_EXT = (".mp4", ".mov", ".avi", ".mkv", ".webm")
@bot.message_handler(commands=['zlincerald'])
def send_random_image(message):
files = os.listdir(IMAGE_FOLDER)
chosen = random.choice(files)
path = os.path.join(IMAGE_FOLDER, chosen)
with open(path, "rb") as media:
if chosen.lower().endswith(VIDEO_EXT):
bot.send_video(message.chat.id, media)
else:
bot.send_photo(message.chat.id, media)
PHRASES_ALL = [ PHRASES_ALL = [
"Tak uědlej JINEEJ SKUPINA VOLE TY NUDLE ČÍNSKÁ POSRANA", "Tak uědlej JINEEJ SKUPINA VOLE TY NUDLE ČÍNSKÁ POSRANA",
"TY KURVO POSRANA ČDJ CIGAN Z USTÍ POSEDLÝ KRETEN ZE SLOVENSKO ESL", "TY KURVO POSRANA ČDJ CIGAN Z USTÍ POSEDLÝ KRETEN ZE SLOVENSKO ESL",

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 MiB

BIN
obruzky/FAILDOX.MP4 Normal file

Binary file not shown.

Binary file not shown.

BIN
obruzky/david_angry.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 247 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 322 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

BIN
obruzky/jsemžernoch.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 304 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 191 KiB

Binary file not shown.

BIN
obruzky/yurigod 01.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 KiB

BIN
obruzky/yurigod 02.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
obruzky/Šlinc rally01.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 455 KiB

BIN
obruzky/šlinc papu.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 KiB