submit quotes to quotes.tilde.chat #6

Open
opened 2018-10-08 18:00:16 +00:00 by ben · 3 comments
Contributor

afaict, POSTing to the /submit endpoint will return a redirect to the quote's page.

afaict, POSTing to the [`/submit` endpoint](https://tildegit.org/tildeverse/quotes/src/branch/master/app.py#L136) will return a redirect to the quote's page.
Author
Contributor

not sure how the command interface will work re: selecting messages. maybe something like array access slices?

not sure how the command interface will work re: selecting messages. maybe something like array access slices?
Owner

@ben: Maybe do something like !quote <timestamp> will grab all the quotes during that timestamp, and to grab a range of quotes do !quote <start timestamp> <end timestamp>? For example, given the chat history:

14:02 <~ben> don't drop the eggs ya goober
14:04 <+aewens> But then how will I make the egg drop soup?
14:04 <~ben> oh

You can run !quote 14:02 to grab the quote "14:02 <~ben> don't drop the eggs ya goober"

@ben: Maybe do something like `!quote <timestamp>` will grab all the quotes during that timestamp, and to grab a range of quotes do `!quote <start timestamp> <end timestamp>`? For example, given the chat history: 14:02 <~ben> don't drop the eggs ya goober 14:04 <+aewens> But then how will I make the egg drop soup? 14:04 <~ben> oh You can run `!quote 14:02` to grab the quote "14:02 <~ben> don't drop the eggs ya goober"
Author
Contributor

that sounds quite reasonable. i don't have any objections to that.

that sounds quite reasonable. i don't have any objections to that.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: aewens/babili-bot#6
No description provided.