Im not sure what to do next ngl

Basically, I have a basic DiscordJS bot, however I want to create stuff like a moderation system. I can send someone what the current project looks like however Imma be real I have no clue where to go. I just followed a simple under ctrl vid.
7 Replies
d.js toolkit
d.js toolkit6mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
NyR
NyR6mo ago
Do you know anything about coding/js?
treble/luna
treble/luna6mo ago
If you do, the guide and docs should be enough to create basic ban/kick etc commands
Revolux
RevoluxOP6mo ago
Im used to coding is JavaScript yes nothing advanced tho, basic javascript gets me by Ill check it out https://discord.js.org/docs/packages/discord.js/14.15.3/GuildMember:Class#kick const { Client, IntentsBitField, EmbedBuilder, ActivityType } = require('discord.js'); Sorry this is on me however what permissions do I need to add to these
// Bot Permissions
const client = new Client({
intents: [
IntentsBitField.Flags.Guilds,
IntentsBitField.Flags.GuildMembers,
IntentsBitField.Flags.GuildMessages,
IntentsBitField.Flags.MessageContent,
],
});
// Bot Permissions
const client = new Client({
intents: [
IntentsBitField.Flags.Guilds,
IntentsBitField.Flags.GuildMembers,
IntentsBitField.Flags.GuildMessages,
IntentsBitField.Flags.MessageContent,
],
});
treble/luna
treble/luna6mo ago
those are intents intents are not permissions
d.js docs
d.js docs6mo ago
:guide: Home: What's new read more
treble/luna
treble/luna6mo ago
I'd recommend to follow the guide Not youtube tutorials
Want results from more Discord servers?
Add your server