rawsonj / triviabot

A simple IRC trivia bot written in python using twisted.
GNU General Public License v3.0
41 stars 51 forks source link

Cleanup #36

Closed edunham closed 10 years ago

edunham commented 10 years ago

Okay, I fixed the script. It's icky, but if you want the script source, it's at https://github.com/edunham/toys/blob/master/trivia_cleanup.py

It found each group of consecutive "duplicates" (lines differing only by capitalization, spacing, and punctuation) and chose the "best" (most capitals and punctuation marks) one to keep.

Also a few no-brainer cleanups in separate commits.