Ferklen
DIAdiscord.js - Imagine an app
•Created by Ishh on 10/8/2023 in #djs-questions
member.bannable shows false even everything is alright
does the 'flare' role has the admin permissions or the permissions come from another role
8 replies
DIAdiscord.js - Imagine an app
•Created by Ferklen on 9/10/2023 in #djs-questions
add role
thanks
17 replies
DIAdiscord.js - Imagine an app
•Created by Ferklen on 9/10/2023 in #djs-questions
add role
wdym change it?
let member = message.mentions.users.first()
what else could it be?
and it gives me a member objet on the console
17 replies
DIAdiscord.js - Imagine an app
•Created by Ferklen on 9/10/2023 in #djs-questions
add role
i simplified the code by not using the cache and switched user to member and still got the same errors
errors here
// if (user.roles.cache.has(role.id)) return message.channel.send("reply")
// if (message.member.roles.highest.comparePositionTo(user.roles.highest) <= 0) return message.channel.send("reply")
and if i delete them there is still the error cannot read properties of add
and it seemed weird to just switch user to member as in console.log(user/member) is the same thing
17 replies
DIAdiscord.js - Imagine an app
•Created by Ferklen on 9/10/2023 in #djs-questions
add role
let user = message.mentions.users.first() client.users.cache.get(args[0]) client.users.cache.find(user => user.username === nombrea)
should i just change that to member?
17 replies
DIAdiscord.js - Imagine an app
•Created by Ferklen on 9/7/2023 in #djs-questions
bot perms
any1 knows how to do that???
12 replies
DIAdiscord.js - Imagine an app
•Created by Ferklen on 9/7/2023 in #djs-questions
bot perms
im trying to check if the bot has embed perms
12 replies
DIAdiscord.js - Imagine an app
•Created by Ferklen on 9/7/2023 in #djs-questions
bot perms
or message.channel.members
12 replies
DIAdiscord.js - Imagine an app
•Created by Ferklen on 9/7/2023 in #djs-questions
bot perms
like in general, to prevent the errors while sending embeds
should i put like message.guild.members.me.message.channel.permissionsFor() ?
12 replies
DIAdiscord.js - Imagine an app
•Created by Ferklen on 9/7/2023 in #djs-questions
bot perms
so i switched it to this, now there is not an error message but the bot continues working even if it doesn't have the perms, and i confirm it by trying to use an embed it just shows an error in the console, commands with no embed work and it doesn't send the reply it should send
12 replies
DIAdiscord.js - Imagine an app
•Created by Ferklen on 9/3/2023 in #djs-questions
channel filter
ty
6 replies
DIAdiscord.js - Imagine an app
•Created by Ferklen on 9/3/2023 in #djs-questions
channel filter
i also tried
and its still '0'
i have this above
6 replies
DIAdiscord.js - Imagine an app
•Created by Ferklen on 8/29/2023 in #djs-questions
timeout perms
i have v14
8 replies
DIAdiscord.js - Imagine an app
•Created by Ferklen on 8/29/2023 in #djs-questions
timeout perms
RangeError [BITFIELD_INVALID]: Invalid bitfield flag or number.
8 replies