asi už nebude odpovídat na náhodné příkazy

This commit is contained in:
2026-03-15 10:25:11 +01:00
parent c2892d3b25
commit ecca4598c9

View File

@@ -61,10 +61,11 @@ PHRASES_BRIMMY = [
"Jeden měsíc mám troon arc a tohle jse stane" # taky dodělži "Jeden měsíc mám troon arc a tohle jse stane" # taky dodělži
] ]
"""
def maybe_send(message, phrases): def maybe_send(message, phrases):
if random.random() < CHANCE: if random.random() < CHANCE:
bot.reply_to(message, random.choice(phrases)) bot.reply_to(message, random.choice(phrases))
"""
@bot.message_handler(commands=['czchan']) @bot.message_handler(commands=['czchan'])
def cmd_czchan(message): def cmd_czchan(message):