Skip to content

I get this error any idea? #4

@server-git

Description

@server-git

Logged in as Verification#1148!
C:\Users\Meliodas\Desktop\BOT SELLER\verification bot\index.js:15
roleName = client.guilds.get(guild_id).roles.get(verified_role_id).name;
^

TypeError: Cannot read property 'roles' of undefined
at Client. (C:\Users\Meliodas\Desktop\BOT SELLER\verification bot\index.js:15:41)
at processTicksAndRejections (node:internal/process/task_queues:93:5)
npm ERR! code 1
npm ERR! path C:\Users\Meliodas\Desktop\BOT SELLER\verification bot
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node index.js

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Meliodas\AppData\Local\npm-cache_logs\2020-12-31T09_24_48_672Z-debug.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions