Skip to content

(node:33924) UnhandledPromiseRejectionWarning: TypeError: Cannot read property '1' of undefined #33

@Mattw11486

Description

@Mattw11486

I am not sure if maybe something has changed but
let totranslate = message.match[1]
let targetlang = message.match[2]
any of that type of code that has this array in it now comes back with this error
image

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