forward old poll

This commit is contained in:
Wojciech Kwolek 2021-10-16 18:22:09 +02:00
parent 8f2ec2c3f9
commit fb79191cc6
3 changed files with 4 additions and 1 deletions

3
.gitignore vendored
View File

@ -1 +1,2 @@
.env .env
*.sqlite3

Binary file not shown.

View File

@ -53,6 +53,8 @@ class Bot:
_{d}, {location}_ _{d}, {location}_
{description} {description}
""" """
if not is_new:
text = "*ZMIANA WYDARZENIA*\n_Sprawdź, czy Twoja odpowiedź jest wciąż aktualna!_\n\n" + text
m = self.updater.bot.send_message( m = self.updater.bot.send_message(
self.chat, text=text, parse_mode=ParseMode.MARKDOWN) self.chat, text=text, parse_mode=ParseMode.MARKDOWN)
messages.append(m) messages.append(m)