Skip to content

feat: Allow users to send a multi-word arguments #81

@ZeLarpMaster

Description

@ZeLarpMaster

If a command is defined as having 2+ string arguments, end users should be able to run the command and have spaces inside the arguments. One way this could be done is with quotes.

Let's assume there's a command defined as command "time", time: :string, source_tz: :string, destination_tz: :string do and let's assume this command is expecting timezones as its arguments. If a user wants to get the time "18pm" from "New York" to "UTC", they currently have no way of giving "New York" as the value for source_tz.

Using the quotes example, the user could do so by sending [p]time 18pm "New York" UTC.

Metadata

Metadata

Assignees

No one assigned

    Labels

    qolQuality of life changes

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions