Unihedro / JavaBot

Java based chat bot that runs in Java room of Stack Overflow Chat.
Apache License 2.0
15 stars 4 forks source link

Timer Command should take messages stretching more than a single word #54

Closed Vogel612 closed 9 years ago

Vogel612 commented 9 years ago

User: !!timer 5 wash dishes Bot: Command does not match the syntax: timer delay(in minutes) (optional message). You can also abort timers by calling timer abort timernumber

This shouldn't happen. Instead the timer should've been scheduled with the message "wash dishes"

Vogel612 commented 9 years ago

Oh and while I am on that thing, I should improve the help message a little...

Syntax: timer delay(in minutes) (optional message).

doesn't cut it... maybe something like the following is better:

 Syntax: timer [delay in minutes] {message}

or just Syntax: timer (delay in minutes) (optional message)