Skip to content
This repository was archived by the owner on Sep 29, 2022. It is now read-only.
This repository was archived by the owner on Sep 29, 2022. It is now read-only.

"Cannot read properties of null (reading '1')" when running the "suggestions" command #81

@acollierr17

Description

@acollierr17

This happens when mentioning a user after the ,suggestions command (ex. ,suggestions @anthony#8577). Probably need to refactor my usage of RegExp#exec.
https://github.com/suggestionsbot/suggestions-bot/blob/9917b6750166ef665009da335a5f84e2d15621af/src/commands/Suggestions/suggestions.js#L32

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions