-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
featNew feature or requestNew feature or requestlib: parserParser libraryParser librarypr: highHigh priorityHigh priorityqualityLinting and code qualityLinting and code quality
Milestone
Description
The argument parser currently passes through single words and that is all it does.
To get it complete, the following must be done:
- Fix existing bugs in the keyed parameters, there is a
.lengtherror which can be found in the server error logs. - Needs a desperate cleanup.
- Add more types of parsers:
- User
- Fixed string switch (statically positioned)
- Roles
- Permission Groups
- Channels
- Emojis
- Colours
- Snowflake (ID string)
- Produce sentence arguments by reading the content progressively and for each word running the next parameter
until the result is notundefined, which would indicate that the next parameter has started. - Separate the error generator so that it can be easily called, the error generator produces errors like the following:
thing error thing ^ an error of some description occurred - Check if required arguments were missed and throw an error.
Metadata
Metadata
Assignees
Labels
featNew feature or requestNew feature or requestlib: parserParser libraryParser librarypr: highHigh priorityHigh priorityqualityLinting and code qualityLinting and code quality