keekztah
keekztah
DIAdiscord.js - Imagine a bot
Created by keekztah on 8/1/2023 in #djs-questions
send a message to random channel on join
module.exports = {
name: 'guildCreate',
async execute(guild, client) {
const channels = guild;
let textChannels = channels.filter((c) => c.type === 0);
let randomChannel = textChannels.random();


randomChannel.send({ content: `This is a test`})
}
}
module.exports = {
name: 'guildCreate',
async execute(guild, client) {
const channels = guild;
let textChannels = channels.filter((c) => c.type === 0);
let randomChannel = textChannels.random();


randomChannel.send({ content: `This is a test`})
}
}
22 replies
DIAdiscord.js - Imagine a bot
Created by keekztah on 8/1/2023 in #djs-questions
send a message to random channel on join
there was no error but nothing happened
22 replies
DIAdiscord.js - Imagine a bot
Created by keekztah on 8/1/2023 in #djs-questions
send a message to random channel on join
thank you
22 replies
DIAdiscord.js - Imagine a bot
Created by keekztah on 8/1/2023 in #djs-questions
send a message to random channel on join
how can i get the channel?
22 replies
DIAdiscord.js - Imagine a bot
Created by keekztah on 8/1/2023 in #djs-questions
send a message to random channel on join
thank you
22 replies
DIAdiscord.js - Imagine a bot
Created by keekztah on 7/4/2023 in #djs-questions
blacklist system not working
what?
25 replies
DIAdiscord.js - Imagine a bot
Created by keekztah on 7/4/2023 in #djs-questions
blacklist system not working
ok
25 replies
DIAdiscord.js - Imagine a bot
Created by keekztah on 7/4/2023 in #djs-questions
blacklist system not working
yep
25 replies
DIAdiscord.js - Imagine a bot
Created by keekztah on 7/4/2023 in #djs-questions
blacklist system not working
ok
25 replies
DIAdiscord.js - Imagine a bot
Created by keekztah on 7/4/2023 in #djs-questions
blacklist system not working
and like i said it works, the person gets added to the schema on mongodb. so the only thing not working is the fact that the person can still run the command.
25 replies
DIAdiscord.js - Imagine a bot
Created by keekztah on 7/4/2023 in #djs-questions
blacklist system not working
its right there
25 replies
DIAdiscord.js - Imagine a bot
Created by keekztah on 7/4/2023 in #djs-questions
blacklist system not working
25 replies
DIAdiscord.js - Imagine a bot
Created by keekztah on 7/4/2023 in #djs-questions
blacklist system not working
theres no error, it just doesnt blacklist the user so somethings wrong with the event.
25 replies
DIAdiscord.js - Imagine a bot
Created by keekztah on 7/4/2023 in #djs-questions
blacklist system not working
thats not the issue, i deleted it on acciden twhen i was sending the code here.
25 replies
DIAdiscord.js - Imagine a bot
Created by keekztah on 6/26/2023 in #djs-questions
DiscordAPIError[40060]: Interaction has already been acknowledged.
do i just look through every single file
5 replies
DIAdiscord.js - Imagine a bot
Created by keekztah on 6/26/2023 in #djs-questions
DiscordAPIError[40060]: Interaction has already been acknowledged.
okay, but how can i find which file
5 replies