Commit Graph

435 Commits

Author SHA1 Message Date
Ryan Hitchman c40e9614f3 quote: implement get-quote-by-id, add 100% line-coverage testing 2015-01-19 22:39:28 -08:00
Ryan Hitchman 22a3a6aa70 Fix #121: don't accept tells to bot 2015-01-11 23:31:33 -08:00
Ryan Hitchman c6f3423efa Merge pull request #127 from KaneTW/patch-2
down.py URL bugfix and detailed error messages
2015-01-04 02:31:57 -06:00
Alex Vidal 1000be3ea1 Don't include " dontsave" when displaying weather API failures
The weather plugin will reply with "Could not find weather for <input>" when the API response doesn't include the "current_observation" key. However, when the user appends " dontsave" to the query that gets reported back to the user and confuses the shit out of everyone.
2014-12-30 14:24:57 -06:00
KaneTW 885b765888 down.py URL bugfix and detailed error messages
Adjusts urlparse behaviour for schemeless URLs (see python docs) to put the domain name into netloc, and makes error messages more detailed so differentiation between a HTTP error or DNS error can occur.
2014-12-03 20:10:28 +01:00
KaneTW 26c199d1cc Allow https, too
Also a bit easier to extend down detection to more sophisticated methods.
2014-12-01 23:11:07 +01:00
Ryan Hitchman d1a9309b03 fix #125: handle 'git log' failures gracefully 2014-11-26 15:58:28 -08:00
James Ward 46ed4e85fb allow override of sieve's ignorebots in config 2014-11-25 10:21:12 -05:00
Ryan Hitchman fa904d2ded Merge pull request #117 from pmrowla/lastfm-save
[lastfm] make .lastfm behave the same as .weather
2014-11-07 22:26:57 -08:00
Bryan Koroleski fe3ed74057 Accounts for situations where no videos are returned.
Sometimes, Youtube will say that there is one result,
but won't return anything.
2014-09-25 13:22:20 -05:00
Peter Rowlands 22f2e28e97 [lastfm] make .lastfm behave the same as .weather
- syntax is now .lastfm <username> [dontsave] | @<nick>
2014-08-27 14:51:39 -05:00
Chris Swetenham f4accb15e5 wikipedia.py: If the command is used without arguments, fetch a random page 2014-08-13 18:54:34 -07:00
Peter Rowlands 9b35809372 fix #11
- use full retweeted text for native retweets instead of truncating it
2014-08-13 14:43:05 -05:00
Ryan Hitchman e589bd6e21 use PMs instead of notices for .showtells 2014-06-02 20:11:11 -07:00
Ryan Hitchman 200a2158bb wikipedia: escape URLs properly 2014-05-19 09:50:05 -07:00
Ryan Hitchman 46d733bd5f use PMs for tells -- notices are easy to miss 2014-05-17 13:46:31 -07:00
Ryan Hitchman 01192e0ddf add kick/ban/unban helper functions 2014-05-12 22:35:15 -07:00
craisins b0be5e5140 Added crowdcontrol plugin which allows for kick/ban/warnings based on
regex definitions of unwanted chat messages.
2014-05-12 22:08:42 -07:00
Tom Jakubowski 110d09e20e Improve weather plugin suggestions
"$city, $state, $country" works better for follow-up searches.
2014-05-11 14:27:45 -07:00
Ryan Hitchman a275a44fa4 log: remove raw logging -- it's redundant with formatted logging 2014-05-10 23:45:47 -07:00
Ryan Hitchman e2bcd6aea0 add cdecl, remove explain. fixes #108 2014-05-09 21:39:11 -07:00
Ryan Hitchman ab2a36260e bf: fix order of operations 2014-05-06 19:19:42 -07:00
Ryan Hitchman 0a84f84e57 tag: sanitize inputs 2014-05-01 21:45:37 -07:00
Ryan Hitchman 08ea88afd2 make quote deletion admin-only 2014-04-30 13:22:15 -07:00
Ryan Hitchman 18159024c7 reload connection configurations, make admin setting per-connection 2014-04-30 13:16:16 -07:00
Ryan Hitchman 0750e8d8b0 Merge branch 'delete-command-branch' of github.com:djcrabhat/skybot 2014-04-30 12:36:17 -07:00
Ryan Hitchman 4c3cb0c9b7 allow nick blacklisting 2014-04-24 14:15:58 -07:00
Ryan Hitchman a5dd272767 rename "tagged?" to "is" so it actually works (command names match \w+) 2014-04-17 22:31:15 -07:00
Ryan Hitchman ce475bf554 remove broken/unused BAM plugin 2014-04-16 20:35:55 -07:00
Ryan Hitchman 6706a369ab allow channel/server level acl whitelist/blacklisting. fixes #104 2014-04-11 22:06:17 -07:00
Ryan Hitchman efe5144969 add requirements.txt, remove pycparser from plugins 2014-04-03 20:44:04 -07:00
Andy Eff 793f09b63e metacritic: Resets PSV to VITA, added XONE and PS4, changes score class check from metascore to metascore_w 2014-04-02 01:37:21 -07:00
stoneLeaf 420bb2bf21 Youtube plugin no longer relies on locale (fixes #53)
The plugin relied on the locale module to provide digit grouping of the view count. It could cause various encoding issues.
The digit grouping is now based on a simple homemade function.
2014-04-02 01:20:38 -07:00
Ryan Hitchman 4f1d49ef04 Merge pull request #99 from tomjakubowski/tagged-command
add .tagged? command
2014-04-02 01:14:13 -07:00
Ryan Hitchman ac78be39f5 suggest: fix for new API 2014-03-13 10:46:57 -07:00
Ryan Hitchman 65846913e4 Merge pull request #98 from jstultz/weather
Show weather for other users
2014-02-19 17:30:02 -08:00
Tom Jakubowski beb0c21b7d add .tagged? command 2014-02-18 20:34:57 -08:00
Ryan Hitchman 75ddc44e11 remember: fix 'can't remember new things' bug 2014-02-17 17:12:06 -08:00
Ryan Hitchman 61da8580d0 bitcoin: round high/low to integers 2014-02-11 12:23:26 -08:00
Ryan Hitchman 79fec9ee46 remember: only allow one replacement 2014-02-07 11:46:13 -08:00
Ryan Hitchman 791df9409d remember: add s/from/to syntax for easier modifications 2014-02-07 11:35:16 -08:00
Jacob Stultz ceaddaebae Show weather for other users 2014-02-02 12:23:22 -08:00
Ryan Hitchman f6fc544227 yahooanswers: flip answer / link order 2014-01-30 18:46:37 -08:00
Ryan Hitchman 19922cdfee tag: warn users when they try to use the old methods 2014-01-30 14:53:54 -08:00
Ryan Hitchman 726bf0dd4b bitcoin: use BTC-e instead of MtGox 2014-01-30 11:43:27 -08:00
Ryan Hitchman 36518e9f91 Merge pull request #97 from parkrrr/feature-http-headers
Feature http headers
2014-01-20 16:57:25 -08:00
Parker Smith d878779d50 Modified http util to support additional headers
Inverted some header logic

Removed user_agent and referer from http, in favor of headers dict

http: formatting

http: Fixed missing part in conditional
2014-01-20 09:15:29 -05:00
Ryan Hitchman 5c405624d9 near: add 'miles' option 2014-01-17 13:37:28 -08:00
Ryan Hitchman 8c36586c2c Merge pull request #95 from factormystic/patch-1
Update twitter.py
2014-01-16 21:20:04 -08:00
Ryan Hitchman cb8c437772 flake8 + autopep8 (whitespace fixes) 2014-01-14 13:12:37 -08:00