atvaccaro / slackbots

Bots and slash-commands for the StayEthical and Lol-xD teams
GNU General Public License v3.0
0 stars 0 forks source link

Fix capitalisation #14

Closed saethlin closed 8 years ago

saethlin commented 8 years ago

Lowercase everything as it comes in and capitalise first word of response

atvaccaro commented 8 years ago

Is this done?

saethlin commented 8 years ago

Probably not. Since we're just building the Markov object once, I'm considering dictionary checking everything.

saethlin commented 8 years ago

Added something quick and dirty, but it seems to catch most things.

saethlin commented 8 years ago

Capitalize lone i

saethlin commented 8 years ago

Switch all capitalisation to regex and move to slack_importer.py, as it is now the biggest contributor to execution time on the first !markov call.