mirror of
https://github.com/civsocit/olgram.git
synced 2023-07-22 01:29:12 +03:00
flake8
This commit is contained in:
parent
96853f4e09
commit
177603606f
@ -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)
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user