Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty items in command's arguments #42

Closed
pietroalbini opened this issue Mar 22, 2016 · 0 comments
Closed

Empty items in command's arguments #42

pietroalbini opened this issue Mar 22, 2016 · 0 comments
Assignees
Labels
Milestone

Comments

@pietroalbini
Copy link
Contributor

If you send a command to your bot, and you accidentally put double spaces in the arguments, an empty item appears in the arguments list:

# The message is "/mycommand a b  c"
args = ["a", "b", "", "c"]

There should be no empty items in the args list.

@pietroalbini pietroalbini self-assigned this Mar 22, 2016
@pietroalbini pietroalbini added this to the botogram 0.2 milestone Mar 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant