Add memo command.#28
Open
8573 wants to merge 7 commits into
Open
Conversation
(1) Stop mangling the nice standard ISO 8601 datestamps into… some perverted format that as far as I know isn’t even really used anywhere. (2) Stop capturing sequential elements of the input then outputting them idem; merge these needlessly separate captures. (3) Stop capturing elements of the input that are not subsequently used; delete these unnecessary captures. (4) Merge the needlessly separate $data_date variables into the $data_time variables. (5) Include timezones in the timestamps.
In Twitter reports, prevent ‘#’-prefixed US-ASCII-alphanumeric sequences starting with a US-ASCII digit from being misinterpreted as hashtags.
…ax/forbid-leading-digit' into 8573/twitter-reporting/hashtag/parsing/correctness/syntax/permit-underscores
In Twitter reports, properly recognize and highlight hashtags that contain underscores. Previously, it appears that hashtags containing underscores would have been recognized and highlighted only up until the first underscore, i.e., the first underscore would have been misinterpreted as terminating the hashtag, and not included in the hashtag.
Merge branches… - `8573/forum-reporting/timestamps/1`, - `8573/quotes/spelling-fixes/1`, and - `8573/twitter-reporting/hashtag/parsing/correctness/syntax/permit-underscores` …into branch `8573/feature/memoranda/1`.
Implement a `memo` command, to record memoranda which are to be relayed
to their designated addressees, and enable it in (what I believe to be)
the “example” and “jane” configurations.
This `memo` command is to be used thus:
<Gambot’s nick>: memo <addressee’s nick> <memorandum text>
E.g., the following command…
janebot: memo Gambit Lorem ipsum dolor sit amet.
…would instruct janebot to tell Gambit “Lorem ipsum dolor sit amet.”
when he’s next around (i.e., the next time he speaks in the channel in
which the memorandum was recorded).
The implementation of this `memo` command is in the following Perl
script:
parsers/plugin_parser/plugins/memo.pm
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implement a
memocommand, to record memoranda which are to be relayedto their designated addressees, and enable it in (what I believe to be)
the “example” and “jane” configurations.
This
memocommand is to be used thus:E.g., the following command…
…would instruct janebot to tell Gambit “Lorem ipsum dolor sit amet.”
when he’s next around (i.e., the next time he speaks in the channel in
which the memorandum was recorded).
The implementation of this
memocommand is in the following Perlscript: