R
Railway15mo ago
pc_ii

Need Help with Discord Bot

The bot uses chatgpt and play.ht to generate text, and then read the text in a discord server. When I run locally everything works perfectly, but when I deploy to Railway it never reads the message. Everything else works while deployed except for playing audio to the channel. Any advice is appreciated!
12 Replies
Percy
Percy15mo ago
Project ID: 5a0e461a-fdea-4113-a64b-bdca9fbaf714
pc_ii
pc_iiOP15mo ago
5a0e461a-fdea-4113-a64b-bdca9fbaf714
Brody
Brody15mo ago
are there any errors in the deployment logs
pc_ii
pc_iiOP15mo ago
no errors in the logs
Brody
Brody15mo ago
what is in the logs then
pc_ii
pc_iiOP15mo ago
I had console logs for each step of the bot's behavior
Brody
Brody15mo ago
and you do see all the steps logged?
pc_ii
pc_iiOP15mo ago
Yes, I tried testing all the points at one time and seeing which one wouldn't show, but they all worked fine. Then I tried testing around just the area that should play the audio and it still worked fine.
Brody
Brody15mo ago
I'm sorry but this is just sounding like a code issue
pc_ii
pc_iiOP15mo ago
Alright, thanks
Brody
Brody15mo ago
sorry I couldn't have been more help, there's just no errors for me to go off of maybe someone else with discord bot experience will come along
pc_ii
pc_iiOP15mo ago
Sounds good 👍
Want results from more Discord servers?
Add your server