koreanpanda345 / Pokemon_Bot

This is Pokemon bot in discord.js-commando
1 stars 1 forks source link

not working #1

Open sp-ytdl-core opened 3 years ago

sp-ytdl-core commented 3 years ago

error at CommandoClient. (/home/runner/PokemonBot/node_modules/discord.js-commando/src/client.js:84:11) at Object.onceWrapper (events.js:421:28) at CommandoClient.emit (events.js:327:22) at WebSocketManager.triggerClientReady (/home/runner/PokemonBot/node_modules/discord.js/src/client/websocket/WebSocketManager.js:431:17) at WebSocketManager.checkShardsReady (/home/runner/PokemonBot/node_modules/discord.js/src/client/websocket/WebSocketManager.js:415:10) at WebSocketShard. (/home/runner/PokemonBot/node_modules/discord.js/src/client/websocket/WebSocketManager.js:197:14) at WebSocketShard.emit (events.js:315:20) at WebSocketShard.checkReady (/home/runner/PokemonBot/node_modules/discord.js/src/client/websocket/WebSocketShard.js:475:12) at WebSocketShard.onPacket (/home/runner/PokemonBot/node_modules/discord.js/src/client/websocket/WebSocketShard.js:447:16) at WebSocketShard.onMessage (/home/runner/PokemonBot/node_modules/discord.js/src/client/websocket/WebSocketShard.js:301:10) (node:296) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:296) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

koreanpanda345 commented 3 years ago

yea, its outdated, so i am not surprised it doesn't work

sp-ytdl-core commented 3 years ago

please update it

Natemo2625 commented 3 years ago

@koreanpanda345 if you want, i could try to update it

koreanpanda345 commented 3 years ago

If you want to do so, be my guest. It was just a fun project that i wanted to do, but turned out to be added stress that i didn't want to deal with at the current moment.

Natemo2625 commented 3 years ago

first thing i noticed is that you didn't list discord.js in package.json

Natemo2625 commented 3 years ago

@koreanpanda345 i'm currently doing all of my hosting on repl.it so now I have to deal with quick.db not installing all of it's dependencies first time again lol

Natemo2625 commented 3 years ago

@koreanpanda345 if you want, you could go ahead and merge my pull request #2 with my current changes. My discord is Natemo#0661 if you need me and I don't respond on GitHub.

Natemo2625 commented 3 years ago

hey @sp-ytdl-core try the changes I added and see if it works. #2

Natemo2625 commented 3 years ago

@sp-ytdl-core pull changes and try again

koreanpanda345 commented 3 years ago

I suggest looking at the rewritten version, which can be found at https://github.com/koreanpanda345/Pokemon_Bot_Rewrite. You can of course help make it @Natemo6348 , and @sp-ytdl-core if you want to.

Natemo2625 commented 3 years ago

Ok sure I can help, won't be able to as much right now, but I can still help some