Need Help Sending Audio to Discord with Python

0
5
Asked By CuriousCoder87 On

Hey everyone! I'm completely new to Python and I'm trying to send audio to my Discord server using a webhook. I followed some code I found online, and while the audio works fine, I'm having issues with the second file that's supposed to send the audio. Here's the link to the code I used: [GitHub Source](https://github.com/Cloudynightlight/Sending-audio-to-discord.git). Can anyone help me figure this out?

2 Answers

Answered By DebugDiva22 On

It sounds like you're on the right track! Just to clarify, in your first file 'Bro.py', you're recording audio and then using 'webhook1' to send it, right? Double-check the paths and make sure that the audio file gets created properly before it's sent. If you could share the error messages or issues you're seeing, that would really help diagnose the problem.

Answered By TechieTommy On

Make sure you're formatting your code correctly when posting it for help. Python is super sensitive to formatting, so if there's an error, it could be a formatting issue. Also, could you clarify what exactly is going wrong with your second file? It'd help to know more about the errors you're seeing.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.