-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uncaught promise error on !play or !add command #49
Comments
I just wanted to add that I'm in the same boat, here are my logs:
|
Yeah it's not reading the permission properly even if it's granted it so it always says false, I haven't set aside time to figure it out yet sorry |
Updated to hopefully fix the promise error now the error should log to the console |
Also the play command only forces the bot to join the channel and play it's current playlist. !youtube https://www.youtube.com/watch?v=duakjBfCMG4 or you can !search some song |
Did the latest commit resolve this error or no? |
So this commit fixed the last issue but has caused another problem, something about uncaught promises with fields.flat and FFmpeg/avconv. Full Log is below, sorry that this doesn't seem to be working!
I think the actual playing of this is an issue with ffmpeg, I tried installing the latest version with npm but it made no difference unfortunately. |
Hi,
Hoping you could help with this, whenever I run npm start, the bot starts correctly but always says "- Can Manage Messages: false" although the permission is granted in the server. Then running either !play or !add will cause the below error and the bot will crash. Using !help or !ping works correctly though.
I haven't done much with typescript before and only very lightly worked with discord bots, so sorry if this is a stupid question, but do you have any ideas on how to fix this?
Thanks!
Full log from console (nothing in bot.log):
The text was updated successfully, but these errors were encountered: