diff --git a/bot.py b/bot.py index 3b062d3..c6a6ff4 100644 --- a/bot.py +++ b/bot.py @@ -26,7 +26,7 @@ async def command_start_handler(message: Message) -> None: #await message.answer(f"Assalomu alaykum, {message.from_user.full_name}!\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)