master #29

Merged
emmatveev merged 4 commits from master into prod 2025-06-15 23:29:02 +03:00
2 changed files with 3 additions and 2 deletions
Showing only changes of commit f4af02ec1d - Show all commits

View File

@ -77,7 +77,7 @@ class Answer:
body = {'text': text, 'chat_id': self.user['chat_id'], 'parse_mode': 'Markdown'}
if reply_markup:
body['reply_markup'] = reply_markup.to_json()
queues.set_task('botalka_mailbox', {'project': 'ruz-bot', 'name': 'telegram-bot', 'body': body}, 1)
queues.set_task('botalka_mailbox', {'project': 'ruz-bot', 'name': 'telegram-bot', 'body': body}, 5)
def set_state(self, state: str):
self.user['state'] = state

View File

@ -12,7 +12,8 @@ fields = [
'date_start',
'date_end',
'lecturer_profiles',
'stream_links'
'stream_links',
'type',
]