Solo
Solo
DIAdiscord.js - Imagine a bot
Created by MD on 8/5/2023 in #djs-questions
Bot posts randomly 1 - 3 welcome messages for the same member that already joined.
any update?
95 replies
DIAdiscord.js - Imagine a bot
Created by Solo on 11/14/2023 in #djs-questions
Random
so you can't help me ?
19 replies
DIAdiscord.js - Imagine a bot
Created by Solo on 11/14/2023 in #djs-questions
Random
🤔
19 replies
DIAdiscord.js - Imagine a bot
Created by Solo on 11/14/2023 in #djs-questions
Random
i see
19 replies
DIAdiscord.js - Imagine a bot
Created by Solo on 11/14/2023 in #djs-questions
Random
Oh
19 replies
DIAdiscord.js - Imagine a bot
Created by Solo on 11/14/2023 in #djs-questions
Random
( found it on internet. )
19 replies
DIAdiscord.js - Imagine a bot
Created by Solo on 11/14/2023 in #djs-questions
Random
but it don't work
19 replies
DIAdiscord.js - Imagine a bot
Created by Solo on 11/14/2023 in #djs-questions
Random
like this
19 replies
DIAdiscord.js - Imagine a bot
Created by Solo on 11/14/2023 in #djs-questions
Random
client.on(Events.InteractionCreate, interaction => {
if(!interaction.isChatInputCommand()) return;
if(interaction.commandName === "hi") {
rndmessage(message);
function rndmessage(message){
var messages =['hi','yo','hello'];
var rnd = Math.floor(Math.random()*messages.length);

interaction.reply({ content: rnd })
}
}
});
client.on(Events.InteractionCreate, interaction => {
if(!interaction.isChatInputCommand()) return;
if(interaction.commandName === "hi") {
rndmessage(message);
function rndmessage(message){
var messages =['hi','yo','hello'];
var rnd = Math.floor(Math.random()*messages.length);

interaction.reply({ content: rnd })
}
}
});
19 replies
DIAdiscord.js - Imagine a bot
Created by Solo on 11/14/2023 in #djs-questions
Random
so there is no way to do the 'random' thing? @waseeeen
19 replies
DIAdiscord.js - Imagine a bot
Created by Solo on 11/14/2023 in #djs-questions
Random
Making random answers, and not repeating the previous ones until he already sent them all, then it reset
19 replies
DIAdiscord.js - Imagine a bot
Created by Solo on 11/14/2023 in #djs-questions
Random
i have no clue of how to make it
19 replies
DIAdiscord.js - Imagine a bot
Created by Solo on 11/14/2023 in #djs-questions
Random
i'm on the last discord.js version, and i have no clue for how to do this, even with the docs
Making a slashcommand having multiple possible answer and making them completly different ( like 5 choices ) BUT it don't repeat the previous ones, and when it say the last one, it reset. and re randomize 5.
Making a slashcommand having multiple possible answer and making them completly different ( like 5 choices ) BUT it don't repeat the previous ones, and when it say the last one, it reset. and re randomize 5.
19 replies