PΣЯ✘
DIAdiscord.js - Imagine a bot
•Created by PΣЯ✘ on 10/11/2023 in #djs-questions
Error
here are the lines of code
10 replies
DIAdiscord.js - Imagine a bot
•Created by PΣЯ✘ on 10/11/2023 in #djs-questions
Error
this is the error
10 replies
DIAdiscord.js - Imagine a bot
•Created by PΣЯ✘ on 9/21/2023 in #djs-questions
help
why wont this not work?
client.user.setPresence({
activities: [{ name:
p!help | ${client.guilds.cache.size} Servers
, type: 'PLAYING' }],
status: 'online',
});
// Update the presence every 30 seconds
setInterval(() => {
client.user.setPresence({
activities: [{ name: p!help | ${client.guilds.cache.size} Servers
, type: 'PLAYING' }],
status: 'online',
});
}, 30000); // 30,000 milliseconds (30 seconds)43 replies
DIAdiscord.js - Imagine a bot
•Created by PΣЯ✘ on 9/21/2023 in #djs-questions
help
ik js but im new to discordjs
43 replies
DIAdiscord.js - Imagine a bot
•Created by PΣЯ✘ on 9/21/2023 in #djs-questions
help
its not that
43 replies
DIAdiscord.js - Imagine a bot
•Created by PΣЯ✘ on 9/21/2023 in #djs-questions
help
where do i set the secs
43 replies
DIAdiscord.js - Imagine a bot
•Created by PΣЯ✘ on 9/21/2023 in #djs-questions
help
@thehairy is this correct?
const intervalID = setInterval(myCallback, 500, "Parameter 1", "Parameter 2");function myCallback(a, b) {client.user.setPresence({ activities: [{ name:
p!help | ${client.guilds.cache.size} Servers
, type: ActivityType.Playing }], status: 'online',}); console.log(a); console.log(b);}43 replies
DIAdiscord.js - Imagine a bot
•Created by PΣЯ✘ on 9/21/2023 in #djs-questions
help
can u help me update it?
43 replies
DIAdiscord.js - Imagine a bot
•Created by PΣЯ✘ on 9/21/2023 in #djs-questions
help
i dont understand it
43 replies
DIAdiscord.js - Imagine a bot
•Created by PΣЯ✘ on 9/21/2023 in #djs-questions
help
client.user.setPresence({
activities: [{ name:
p!help | ${client.guilds.cache.size} Servers
, type: ActivityType.Playing }],
status: 'online',
});
node.js 18.17.143 replies
DIAdiscord.js - Imagine a bot
•Created by PΣЯ✘ on 9/21/2023 in #djs-questions
help
can u update it from me?
43 replies