This commit is contained in:
mihalin 2022-02-11 01:04:15 +03:00
parent 96853f4e09
commit 177603606f
2 changed files with 2 additions and 2 deletions

View File

@ -217,7 +217,7 @@ async def send_bot_second_text_menu(bot: Bot, call: ty.Optional[types.CallbackQu
async def send_bot_templates_menu(bot: Bot, call: ty.Optional[types.CallbackQuery] = None,
chat_id: ty.Optional[int] = None):
chat_id: ty.Optional[int] = None):
if call:
await call.answer()
keyboard = types.InlineKeyboardMarkup(row_width=2)

View File

@ -88,4 +88,4 @@ class BannedUser(Model):
class DefaultAnswer(Model):
id = fields.BigIntField(pk=True)
bot = fields.ForeignKeyField("models.Bot", related_name="answers", on_delete=fields.relational.CASCADE)
text = fields.TextField()
text = fields.TextField()