Devvvvvv
Explore posts from serversDIdiscord.js - Imagine ❄
•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 [email protected] and node version v20.8.0
12 replies
DIdiscord.js - Imagine ❄
•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
DIdiscord.js - Imagine ❄
•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
SIASapphire - Imagine a framework
•Created by Devvvvvv on 5/20/2024 in #sapphire-support
Cannot find how I can use buttons
I want to create a message with some buttons for people to click on and recieve some messages something like what it is in the attached image.
What I cannot figure out is how do I use it. I tried to read the documentation and I'm pretty sure im missing a big gotcha
https://sapphirejs.dev/docs/Guide/interaction-handlers/buttons
29 replies
SIASapphire - Imagine a framework
•Created by Devvvvvv on 5/19/2024 in #sapphire-support
slashcommand wont appear
Tried to implement slash command but it wont show up. The bot is invited with the bot and application.commands scope and it still wont work.
ping.js
index.js
43 replies
SIASapphire - Imagine a framework
•Created by Devvvvvv on 5/19/2024 in #sapphire-support
Can I create a simple get endpoint along with my sapphire app that's hosted wherever?
If yes, how can I do so?
4 replies