Skip to content
This repository has been archived by the owner on Nov 3, 2018. It is now read-only.

Doesn't Play, Deletes Commands #93

Open
ghost opened this issue Aug 19, 2017 · 3 comments
Open

Doesn't Play, Deletes Commands #93

ghost opened this issue Aug 19, 2017 · 3 comments

Comments

@ghost
Copy link

ghost commented Aug 19, 2017

I enter a command, and it just disappears in the channel, then the console displays this:
A command threw an error (add): TypeError: Promise.accept is not a function

Get this for all the commands. Please help.

@ghost
Copy link
Author

ghost commented Aug 19, 2017

v0.0.5, Ubuntu 14.04. FFmpeg etc. Stock OS install for this bot. Latest 7 Node.js.

@ghost
Copy link
Author

ghost commented Aug 19, 2017

Rolled back to 0.0.4, seems to work after setting a now playing channel ID and info channel ID. However, still get the same Promise.accept is not a function error whilst doing anything like !stream [url]

@TuckerHaydon
Copy link

Not sure if this is fixed in source code, but I fixed this error by editing node_modules/discordie/lib/interfaces/IDirectMessageChannelCollection.js.

You want to change Promise.accept to Promise.resolve

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant