Devvvvvv
Explore posts from serversDIAdiscord.js - Imagine an app
•Created by Devvvvvv on 5/22/2024 in #djs-questions
Is this how I check if a user has boosted?
https://old.discordjs.dev/#/docs/discord.js/main/class/GuildMemberRoleManager?scrollTo=premiumSubscriberRole
https://old.discordjs.dev/#/docs/discord.js/main/class/RoleManager?scrollTo=premiumSubscriberRole
These two links are from the docs. Im not sure which one I should use to check if a member has boosted.
My objective is to remove a role from ALL members in a server other than premium subs. Is there a better way to do this other than just looping through all members to check and remove?? (or perhaps just to even remove without checking?)
Currently using discord.js@14.15.2 and node version v20.8.0
12 replies
DIAdiscord.js - Imagine an app
•Created by Devvvvvv on 5/21/2024 in #djs-questions
Error says that it doesn't recognize the interaction 💀
line 99 would be here (image 2 attached)
what I dont understand is why the interaction object is unknown
im sure more information is needed and I am okay to provide it
3 replies
DIAdiscord.js - Imagine an app
•Created by Devvvvvv on 5/21/2024 in #djs-questions
How do I add temprole to any user in an automated way using djs14??
I know I can use dyno bot or carl bot for it but I want to automate it. Writing my own temprole feature feels like peeling off skin from the side of my fingernails.
I tried to do this but it wont work for obvious reasons because carl bot ignores my bot.I know I can use dyno bot or carl bot for it but I want to automate it. Writing my own temprole feature feels like peeling off skin from the side of my fingernails.
I tried to do this but it wont work for obvious reasons because carl bot ignores my bot.
71 replies