![]() ![]() ![]() Vc.play(discord.FFmpegPCMAudio(executable='/storage/emulated/0/bot/f/bin/ffmpeg.exe', source='talk.mp3'), after=lambda e: print('done'))Īgain, when run on my laptop it works fine however when run on my phone i get "PermissionError: Permission denied: '/storage/emulated/0/bot/f/bin/ffmpeg.exe'". The important code is: if "bot talk" in ntent: I have an almost identical version of my bot on my laptop which is mostly where I code before adapting it to my phone, it uses almost identical code except on my phone I added the directory for where specifically ffmpeg is and it works on my laptop but not my phone. So I have a discord bot which I run on my phone just for convenience and I'm tryna get it to join a voice channel and play audio. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |