Skip to content

Error when a command is used #5

Description

@Pajsen9263

I get the error (node:2208) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'length' of undefined at Client.<anonymous> (/app/test.js:43:61) at Client.emit (events.js:196:13) it's at the const commandfile = bot.commands.get(command.slice(prefix)); part

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