UWCS / choob

Compsoc's Highly Over-engineered Object-oriented Bot
http://choob.uwcs.co.uk/
GNU Lesser General Public License v2.1
17 stars 6 forks source link

BadgerBOT shouldn't quote the same stuff more than once #250

Open FauxFaux opened 13 years ago

FauxFaux commented 13 years ago

Can we check that the exact same thing is not being quoted again within, say, 2mins or so so that this is prevented?; (faux says it can be done easily ;) )

{{{ 08:39:12 fred@ >> exams-- because if i'm awake at this time of day, it should be because i've not gone to sleep yet. 08:39:13 BadgerBOT >> fred: Given less karma to exams, and understood your reasons. New karma is -463. ... 08:39:21 Laurence|DCS@ >> !quote fred 08:39:22 BadgerBOT >> Laurence|DCS: OK, added 1 line quote #10657: exams-- because if i'm awak... ... 08:39:25 jonatan >> !quote fred 08:39:26 BadgerBOT >> jonatan: OK, added 1 line quote #10658: exams-- because if i'm awak... ... 08:39:39 jonatan >> !unquote 08:39:40 BadgerBOT >> jonatan: OK, unquoted quote 10658 ( exams-- because if i'm awak...). }}}

FauxFaux commented 13 years ago

Author: faux Either getting the quotes matching the current one (text-only matching, but worthwhile I guess), or refering to the !lastquote info.. maybe make it store the lineids too (outside of odb), just to be sure?

Should we allow a multiline quote through a line that's already been quoted (or vv.)?

{{{

I sat down! In my pants! Lol! !quote Two Okay, quoted " In my pants!" }}} Should `!quote one:/I sat down!/ thr:/Lol!/` be valid now? I vote no, but there are some existing overlapping quotes, iirc.
FauxFaux commented 13 years ago

Ticket imported from Trac: http://trac.uwcs.co.uk/choob/ticket/250