banana ✿
banana ✿
DIAdiscord.js - Imagine a bot
Created by banana ✿ on 5/10/2024 in #djs-questions
Shard takes too long to get ready
On my console, my bot is remaining offline and not starting and it says "Shard 0 took too long to get ready." No other errors appear in the console. any possible fixes or reasons why?
15 replies
DIAdiscord.js - Imagine a bot
Created by banana ✿ on 5/4/2024 in #djs-questions
ERR_IPC_CHANNEL_CLOSED
No description
22 replies
DIAdiscord.js - Imagine a bot
Created by banana ✿ on 8/2/2023 in #djs-questions
event for all shards being ready?
so there's an event for when each shard is ready, but is there an event that is called ONLY when ALL shards have loaded?
2 replies
DIAdiscord.js - Imagine a bot
Created by banana ✿ on 8/1/2023 in #djs-questions
broadcast eval
If i wanted to use do await this.client.shard.broadcastEval(findMembers, { context: { userId } });, and the function findMembers had a variable called userId i wanted to pass in, whats the correct way of doing it? this is giving me the error that userId isnt defined.even tho userId itself is also defined earlier
5 replies
DIAdiscord.js - Imagine a bot
Created by banana ✿ on 7/4/2023 in #djs-questions
weird error
just wanted to start my bot and this happened - it doesnt seem like a problem with my code bc it worked before on another machine...is it smth to do with node version?
ReferenceError: guild is not defined
at eval (eval at _eval (/home/banana/uwu-bot-v4/node_modules/discord.js/src/client/Client.js:470:12), <anonymous>:9:23)
at eval (eval at _eval (/home/banana/uwu-bot-v4/node_modules/discord.js/src/client/Client.js:470:12), <anonymous>:23:7)
at UwUClient._eval (/home/banana/uwu-bot-v4/node_modules/discord.js/src/client/Client.js:470:12)
at ShardClientUtil._handleMessage (/home/banana/uwu-bot-v4/node_modules/discord.js/src/sharding/ShardClientUtil.js:194:82)
at process.emit (node:events:513:28)
at emit (node:internal/child_process:937:14)
at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
ReferenceError: guild is not defined
at eval (eval at _eval (/home/banana/uwu-bot-v4/node_modules/discord.js/src/client/Client.js:470:12), <anonymous>:9:23)
at eval (eval at _eval (/home/banana/uwu-bot-v4/node_modules/discord.js/src/client/Client.js:470:12), <anonymous>:23:7)
at UwUClient._eval (/home/banana/uwu-bot-v4/node_modules/discord.js/src/client/Client.js:470:12)
at ShardClientUtil._handleMessage (/home/banana/uwu-bot-v4/node_modules/discord.js/src/sharding/ShardClientUtil.js:194:82)
at process.emit (node:events:513:28)
at emit (node:internal/child_process:937:14)
at process.processTicksAndRejections (node:internal/process/task_queues:83:21)
5 replies