Commit Graph

521 Commits

Author SHA1 Message Date
Ryan Hitchman 921b986683 wrap bot.py in a main() function to be import-safe 2015-01-21 23:16:59 -08:00
Ryan Hitchman 62fbe6e237 seen: add test 2015-01-21 23:16:52 -08:00
Ryan Hitchman 00b441e46e bf: add 100% line coverage test 2015-01-19 23:03:11 -08:00
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
Ryan Hitchman 7d2932f9c3 Merge pull request #128 from avidal/patch-2
Don't include " dontsave" when displaying weather API failures
2015-01-04 02:31:28 -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
Ryan Hitchman 94343e7891 Merge pull request #126 from KaneTW/patch-1
Allow https, too
2014-12-01 23:32:10 -06: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
Ryan Hitchman 5e21e1b7b5 Merge pull request #123 from socram8888/master
Properly handle multicharacter bot prefixes
2014-11-26 16:20:04 -06:00
Ryan Hitchman bffea3c15a Merge pull request #124 from TeamPeggle/feature/config-disable-ignorebots
allow override of sieve's ignorebots in config
2014-11-26 16:19:17 -06:00
James Ward 46ed4e85fb allow override of sieve's ignorebots in config 2014-11-25 10:21:12 -05:00
Marcos Vives Del Sol 4c970f6b16 Properly handle multicharacter bot prefixes 2014-11-23 16:19:56 +01: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
Ryan Hitchman 68341a7655 Merge pull request #119 from crisisking/youtube_no_results
Accounts for situations where no youtube videos are returned.
2014-11-07 22:25:46 -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
Ryan Hitchman 2fd1def5f4 Merge pull request #114 from pmrowla/twitter_rt
fix #11
2014-08-13 18:47:19 -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
Ryan Hitchman ebb1c5ed28 Merge pull request #110 from tomjakubowski/patch-1
Improve weather plugin suggestions
2014-05-11 15:25:07 -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 c14cc2d1b0 Merge pull request #107 from craisins/master
Added support for custom bot prefixes
2014-05-09 15:04:57 -07:00
craisins 2b44d0af29 Added support for custom bot prefixes 2014-05-08 23:09:58 -04: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 1d7a82fe58 fix persist_dir creation 2014-04-30 20:12:28 -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
Ryan Hitchman 8401ec50bf add license (public domain). fixes #100
I don't have CLAs from everyone involved (it's an IRC bot), but almost all
the core code was written by me and should be safe.
2014-04-02 01:31:49 -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
Thomas Omans 5de616a42a Allow skybot to join password protected channels
This commit makes it so you can join a channel like ["#secret password-channel"]
2014-03-20 11:58:22 -07:00