Skip to content

Commit

Permalink
send message instead of answer
Browse files Browse the repository at this point in the history
  • Loading branch information
yasamprom committed Dec 24, 2021
1 parent 8bb747a commit a9123d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async def process_start_command(message: types.Message):
async def process_text(message: types.Message):
s = get_fact()
# noinspection PyTypeChecker
await message.answer(s)
await bot.send_message(message.chat.id, s)


if __name__ == '__main__':
Expand Down

0 comments on commit a9123d4

Please sign in to comment.