Skip to content
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

Fix? #33

Open
NaturalDev opened this issue May 25, 2021 · 14 comments
Open

Fix? #33

NaturalDev opened this issue May 25, 2021 · 14 comments

Comments

@NaturalDev
Copy link

DiscordAPIError: Cannot send an empty message
at RequestHandler.execute (C:\Users\Sasyy\Dropbox\Il mio PC (DESKTOP-UPMFOB5)\Desktop\Dixie Loves You\node_modules\discord.js\src\rest\RequestHandler.js:154:13)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async RequestHandler.push (C:\Users\Sasyy\Dropbox\Il mio PC (DESKTOP-UPMFOB5)\Desktop\Dixie Loves You\node_modules\discord.js\src\rest\RequestHandler.js:39:14) {
method: 'post',
path: '/channels/846777401131270167/messages',
code: 50006,
httpStatus: 400

@Asgarrrr
Copy link
Owner

Can you give me some details about the context? What command did you use?

@NaturalDev
Copy link
Author

i used "node Luna.js"

@NaturalDev
Copy link
Author

and when i try to make a command it doesn't respond and in the terminal i see that error

@NaturalDev
Copy link
Author

I used commands like "! play,! avatar,! ping,! ban,! kick"

@Asgarrrr
Copy link
Owner

Asgarrrr commented May 25, 2021

Strange :/ I never had this problem ( and the default prefix is £, you can change it with £prefix ) Try a £ping

@Asgarrrr
Copy link
Owner

Capture d’écran 2021-05-25 à 18 58 14

@NaturalDev
Copy link
Author

79 packages are looking for funding
run npm fund for details
__ ____ __
/ / __ ______ ____ / __ )___ / /_
/ / / / / / __ / __ `/ __ / __ / /
/ /
/ // / / / / // / // / // / /
//_,// //_,//___/_/

Connected — CENSORED is here !
On 3 servers, for 1 users and 12 channels

@NaturalDev
Copy link
Author

image

@NaturalDev
Copy link
Author

image

7 moderate severity vulnerabilities

@Asgarrrr
Copy link
Owner

image

The default prefix is not !, but £ ...

@NaturalDev
Copy link
Author

i changed it and i set !

@Asgarrrr
Copy link
Owner

Mhhh I see, it's my fault, we don't care about the prefix in the conf.js, use the command £prefix !

@Asgarrrr
Copy link
Owner

Capture d’écran 2021-05-25 à 20 25 41

@NaturalDev
Copy link
Author

NaturalDev commented May 26, 2021

Hello! I was able to fix the bug!
On Python 3.9 the "danbooru" package uninstalls
This error can be noticed by taking the screenshot 2 seconds before the luna bot starts, as it says that the module is missing .. but for a short time!

To fix it
npm i danbooru

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

No branches or pull requests

2 participants