flushingtech/discordVoiceBot
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
setup bot on discord developer portal and get bot token for bot script https://discord.com/developers/applications/1327763753428717709/bot add bot to server using link generated from developer portal and find channel id (enable developer mode on discord chan to find) to add to bot script https://discord.com/oauth2/authorize?client_id=1327763753428717709&permissions=274881153024&integration_type=0&scope=bot+applications.commands run the script starting the discord bot server/servers python discord_voice_bot.py send a audio file to the discord bot server curl -X POST "http://localhost:8000/send-voice/" -H "accept: application/json" -H "Content-Type: multipart/form-data" -F "file=@C:/VSCODE/agentDiscord/Recording.m4a" -F "message=Testing voice message"