#"Lock" feature

1 messages · Page 1 of 1 (latest)

covert nest

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.