Skip to content

Commit

Permalink
Update bot.py
Browse files Browse the repository at this point in the history
  • Loading branch information
yahyoxonqwe authored Aug 1, 2022
1 parent dae9d82 commit 562c54d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ async def command_start_handler(message: Message) -> None:
#await message.answer(f"Assalomu alaykum, <b>{message.from_user.full_name}!</b>\nMenga habar yuboring va men sizga gapirib beraman.\bMenga ovoz yuboring va men text qilib beraman.")
#global x
#x = True
data = get_audio(f"Assalomu alaykum, hurmatli mijoz. Mening ismim Oyqiz. Sizning ismingiz kim?")
data = get_audio(f"Assalomu alaykum, hurmatli mijoz. Mening ismim Kamron. Sizning ismingiz kim?")
audio = Audio(data=data, rate=48000).data
audio_file = BufferedInputFile(audio, filename="file.wav")
await message.answer_voice(audio_file)
Expand Down

0 comments on commit 562c54d

Please sign in to comment.