forked from ProgrammerDan/BanStick
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Date and time doesn't work as instructed #14
Comments
hmm, looks like just confusing docs.
If only three params are presented it will assume first is who, second is
date, third is message. This is expected behavior. Might not be clear from
docs, though. If four params it should read third param as time and fourth
as message, instead.
Can def check though but I'm not immediately seeing anything "wrong" here,
although it is confusing from docs. However, basically the optional
"message" has higher precedence then the optional time.
Arguably it should attempt to match it to a timestamp regex and use that to
determine precedence.
…On Fri, Apr 10, 2020 at 12:19 AM GavJenks ***@***.***> wrote:
/banstick crimeo 04/09/2020 04:17:24
bans me until 4/09/2020 00:00:00 with ban explanation message "04:17:24"
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#14>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADD5DVDJCK4QAIN72QPSV3RL2M57ANCNFSM4MFGTMJQ>
.
|
it does the same with 4 arguments |
message is just "04:17:24 blah" instead |
lmao well nevermind then. Thanks for the report!
…On Fri, Apr 10, 2020 at 12:52 PM GavJenks ***@***.***> wrote:
message is just "04:17:24 blah" instead
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#14 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADD5DSGVXHE5G326VRASJTRL5FDVANCNFSM4MFGTMJQ>
.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
/banstick crimeo 04/09/2020 04:17:24
bans me until 4/09/2020 00:00:00 with ban explanation message "04:17:24"
The text was updated successfully, but these errors were encountered: