gchiu / rebolbot

A stackoverflow chat bot for Rebol
20 stars 6 forks source link

Make RebolBot ignore multi-line messages starting with >> #47

Closed hostilefork closed 9 years ago

hostilefork commented 9 years ago

When people post multi-line transcripts from their local terminal, they often have >> at the start, and RebolBot errors on them.

Since RebolBot has a multi-line communication method with being addressed on the first line, how about it just ignore any >> message that isn't a single line?

johnk- commented 9 years ago

I had a think about this and yes, I agree. So @rebolbot do for multiline and ">> " for single line. Anther option would just be to change the prompt from ">> " to "> " which has the added advantage of being one less character to type. Thoughts?

hostilefork commented 9 years ago

I prefer the consistency/look of >>... also > is interpreted in markdown as "quote", so best to keep as-is...

johnk- commented 9 years ago

Complete