Discord-Roblox Verify Command Discord.js

Some nice syntax errors, and some extra errors.

C:\Program Files\nodejs\node.exe --inspect-brk=36543 index.js 
Debugger listening on ws://127.0.0.1:36543/7ff3467b-a550-4f5b-9705-7b81f589c496
For help, see: https://nodejs.org/en/docs/inspector
Debugger attached.
Waiting for thec:\Users\ytusj\Desktop\BotTesting\index.js:77
let verified = message.guild.roles.cache.find(r => r.name === Verified)   
    ^

SyntaxError: Identifier 'verified' has already been declared
    at wrapSafe (internal/modules/cjs/loader.js:1054:16)
    at Module._compile (internal/modules/cjs/loader.js:1102:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
    at Module.load (internal/modules/cjs/loader.js:986:32)
    at Function.Module._load (internal/modules/cjs/loader.js:879:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
    at internal/main/run_main_module.js:17:47
 debugger to disconnect...
3 Likes

Thank you it was a syntax error anyways fixing it right now thanks!
EDIT: THIS HAS BEEN FIXED

Hey, I have tried using this but the entire thing doesn’t work at all, if I try run !verify, nothing happens

Have you tried using the fixed code?

Use the vanilla code from here:

2 Likes

That doesn’t even function. Whenever I put in that code and do all the client.login(process.env.BOT_TOKEN) thing it doesn’t work.

You have to put your own token in it instead of my token

Can you make a Mac version of this tutorial? Thank you very much!

Mac version, you just install the same programs.
But just for mac.

I used this on Visual Studio Code, also look at the Updated Code.