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

Add quote search commands #116

Open
ghost opened this issue Mar 30, 2014 · 3 comments
Open

Add quote search commands #116

ghost opened this issue Mar 30, 2014 · 3 comments

Comments

@ghost
Copy link

ghost commented Mar 30, 2014

Something like the following:

findquote pattern - Show the latest quote matching pattern. pattern could be a regular expression or a glob.
lastquote nick - Show the latest quote for nick, looking for <nick> at the beginning of the quote.

The latter might need to strip prefixes (+%@&!~) and timestamps. And it won't work if someone adds a quote where the nick is formatted differently.

@kaneda
Copy link
Contributor

kaneda commented Apr 1, 2014

👍 for findquote by pattern

@myano
Copy link
Owner

myano commented Jun 6, 2014

Regular expression is out of question, due to Python 2.x not having a timeout for regular expression parsing.

Though I like the idea for searching for quotes by a certain user. I'm thinking of showing a list of numbers that are the quote numbers, and then people can .quote , to see the actual quote. Thoughts?

@myano myano added the Feature label Jun 6, 2014
@kaneda
Copy link
Contributor

kaneda commented Feb 14, 2015

@myano 👍 though I think we could always "thread" using the threaded attribute of bot ant not worry about timing out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants