HAINAMLION
HAINAMLION
DIAdiscord.js - Imagine an app
Created by HAINAMLION on 3/22/2025 in #djs-questions
"Lock" feature
Hi. I need help with my own "Lock" feature. Here's how it work: - When user use /lock, get and save all of user's current roles into a map or array or something like that - Next, remove all of user's roles - If user use /unlock, give the user's back all of the roles saved I can: - Set up the commands, not the functions I'm using the lastest version of discord.js, npm and node version.
9 replies