Skip to content

Duplicate commands cause crash #13

Description

@BluuArc

Currently using Clapp with Discord.js when I ran into a strange issue.

  1. Say I have a command foo with a flag that takes in a string, something along the lines of --test <string>,
  2. Some user inputs ~mybotidentifier foo --test somestring1 --test somestring2.
  3. The bot crashes, with the error messages pointing me to the _convertType function in App.js in the dist folder
  4. After messing around with console.log for a bit in App.js, the error seems to be stemming from arg being an array of strings with no switch case to handle it.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions