DiscordBot icon indicating copy to clipboard operation
DiscordBot copied to clipboard

Now this error

Open NekoTony opened this issue 10 years ago • 5 comments

treating !say test from @180339602798804992 as command treating !say test from @180339602798804992 as command

but the commands doesn't show

http://prntscr.com/cg67hy

NekoTony avatar Sep 09 '16 20:09 NekoTony

and i'm also getting this (Which stop appearing)

D:\gem\gem>node discord_bot2.js
logging in with token
<@192009689469288448> went <@192009689469288448>
<@125280122260422656> went <@125280122260422656>
<@21587127498178560> went <@21587127498178560>
<@113086797872918528> went <@113086797872918528>
<@72360364980830208> went <@72360364980830208>
<@211768039555858432> went <@211768039555858432>
<@102155095008894976> went <@102155095008894976>
<@136600022073606145> went <@136600022073606145>
Ready to begin! Serving in 47 channels
logging in with token
Loaded 39 chat commands type !help in Discord for a commands list.
<@192009689469288448> went <@192009689469288448>
<@100274599702302720> went <@100274599702302720>
<@109174245912743936> went <@109174245912743936>
<@135895383686512640> went <@135895383686512640>
<@135801671346421760> went <@135801671346421760>
<@217305990956056576> went <@217305990956056576>
<@112402469803261952> went <@112402469803261952>
<@135895383686512640> went <@135895383686512640>
Disconnected!

NekoTony avatar Sep 09 '16 21:09 NekoTony

Well, seems like the bot didn't install properly

I get this error when I use the npm install command

'''
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the libxmljs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs libxmljs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls libxmljs
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     D:\gem\gem\npm-debug.log
npm ERR! code 1'''

NekoTony avatar Sep 09 '16 21:09 NekoTony

Make sure you have all the extra tools installed: python visual studio etc. Unfortunately libxml is notoriously annoying to setup.

On Sep 9, 2016 5:19 PM, "Antonio Vallez" [email protected] wrote:

Well, seems like the bot didn't install properly

I get this error when I use the npm install command

''' npm ERR! [email protected] install: node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'. npm ERR! Make sure you have the latest version of node.js and npm installed. npm ERR! If you do, this is most likely a problem with the libxmljs package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node-gyp rebuild npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs libxmljs npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls libxmljs npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! D:\gem\gem\npm-debug.log npm ERR! code 1'''

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/chalda/DiscordBot/issues/80#issuecomment-246042993, or mute the thread https://github.com/notifications/unsubscribe-auth/ABJbZqUbpOfF7y1wY-q9g-Pp3Ts31tF4ks5qoc1YgaJpZM4J5dX1 .

chalda avatar Sep 09 '16 21:09 chalda

Can you help me?

my discord chat link is https://discord.gg/qmJAeTq

NekoTony avatar Sep 10 '16 01:09 NekoTony

I believe the real problem here was the breaking change to the Discord API. The bot was using an old version of Discord.js that didn't have the necessary changes. I believe #82 should fix everything.

Einarin avatar Sep 20 '16 00:09 Einarin