cable
cable
DIAdiscord.js - Imagine an app
Created by cable on 1/12/2024 in #djs-questions
Bot Crashes After Adding Role To Member
yea realistically i prob shd, its just i have a pretty strong understanding of other languages and most of the js tutorials ive seen are aimed at ppl who've never coded before
16 replies
DIAdiscord.js - Imagine an app
Created by cable on 1/12/2024 in #djs-questions
Bot Crashes After Adding Role To Member
alr well just changing the parenthesis to square brackets fixed it so thnx 🫡
16 replies
DIAdiscord.js - Imagine an app
Created by cable on 1/12/2024 in #djs-questions
Bot Crashes After Adding Role To Member
yeah just not sure what the syntax is in js
16 replies
DIAdiscord.js - Imagine an app
Created by cable on 1/12/2024 in #djs-questions
Bot Crashes After Adding Role To Member
oh gotcha, is there an example of how to write the constructor ur able to send? (im new to both js and djs)
16 replies
DIAdiscord.js - Imagine an app
Created by cable on 1/12/2024 in #djs-questions
Bot Crashes After Adding Role To Member
const {Client, GatewayIntentBits, EmbedBuilder, PermissionsBitField, Permissions, SlashCommandBuilder, Role, Colors} = require('discord.js');
const client = new Client({intents: (
GatewayIntentBits.Guilds,
GatewayIntentBits.GuildMessages,
GatewayIntentBits.GuildMembers,
GatewayIntentBits.MessageContent)});
const {Client, GatewayIntentBits, EmbedBuilder, PermissionsBitField, Permissions, SlashCommandBuilder, Role, Colors} = require('discord.js');
const client = new Client({intents: (
GatewayIntentBits.Guilds,
GatewayIntentBits.GuildMessages,
GatewayIntentBits.GuildMembers,
GatewayIntentBits.MessageContent)});
16 replies
DIAdiscord.js - Imagine an app
Created by cable on 1/12/2024 in #djs-questions
Bot Crashes After Adding Role To Member
yea ive got the guild intent, tried changing to interaction.member but getting the same issue
16 replies
DIAdiscord.js - Imagine an app
Created by cable on 1/12/2024 in #djs-questions
Bot Crashes After Adding Role To Member
No description
16 replies