Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

Provide an example for detecting private messages #6

Closed
wants to merge 1 commit into from
Closed

Provide an example for detecting private messages #6

wants to merge 1 commit into from

Conversation

esigler
Copy link
Contributor

@esigler esigler commented Mar 10, 2015

Here's a quick example for how to detect a private message to Lita - I think it's kind of overly verbose though. Is it worth having a "one liner" section for these kinds of things?

Here's a quick example for how to detect a private message to Lita - I
think it's kind of overly verbose though.  Is it worth having a "one
liner" section for these kinds of things?
@jimmycuadra
Copy link
Contributor

That is a lot of code just to demonstrate effectively one method call. I was thinking about adding a third section to the docs for "advanced plugin development" or "plugin development patterns" or something along those lines that could be sort of a grab bag examples on how to achieve certain tasks when writing plugins. That would also be a good place to address storing metadata in User objects like you brought up in litaio/lita#63.

@esigler
Copy link
Contributor Author

esigler commented Mar 14, 2015

Agreed - there's lots of little things I try to remember from plugin to plugin, will close this PR and open a new one for a "plugin development patterns" section.

@esigler esigler closed this Mar 14, 2015
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants