Commit Graph

477 Commits

Author SHA1 Message Date
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
Ryan Hitchman c065aaa59a near: show users near you. experimental. 2014-01-14 13:01:56 -08:00
Ryan Hitchman d7399e73fa tag.py: add .untag, so each tag action has its own command 2014-01-13 17:38:42 -08:00
factormystic 47219617d7 Update twitter.py
Replace newlines with space, looks nicer
2014-01-10 20:06:40 -05:00
Ryan Hitchman ab88f2d50d youtube: add '.yt' alias 2014-01-08 17:29:35 -08:00
Ryan Hitchman 6ae70537c0 .near: show closest users to you 2014-01-07 13:41:07 -08:00
Ryan Hitchman aca9ba54ff tag.py: split .tag into .tag/.tags/.tagged, add automatic pagination 2014-01-07 11:18:23 -08:00
bwreilly 0ee7ea1ac4 random choice of first ten results, consistency with gis 2013-12-26 11:54:25 -08:00
bwreilly db05fadc29 add in giphy (.gif query) 2013-12-26 11:22:15 -08:00
Ryan Hitchman bb3f418aa3 tag: fix `.tag <tag>` searching 2013-12-20 15:38:08 -08:00
spathi-wa 87a11881a4 plugins/twitter: added hook.regex for twitter URLs
Also minor changes in output formatting
2013-12-18 12:36:20 -08:00
Ryan Hitchman e866c432c8 tag: allow boolean intersection searches 2013-11-19 16:27:58 -08:00
Ryan Hitchman cb514dfede tvdb: don't download zip files, just use the xml endpoint 2013-11-19 16:27:58 -08:00
Jacob Stultz 80ce43e0c5 Calculate change percentage correctly
Measuring percent change based on the current price instead of the
original price is silly; instead use change / old price
2013-11-07 14:42:31 -08:00
Ryan Hitchman e769bad2b7 stock.py: change to use yahoo API 2013-11-06 09:54:38 -08:00
Ryan Hitchman 248b220d9b somethingawful: use api_key hook instead of bot.config 2013-10-31 10:44:27 -07:00
Ryan Hitchman 0796167813 plugins/twitter: unescape html entities 2013-10-07 14:41:38 -07:00
Ryan Hitchman a97715d5c0 plugins/twitter: pick a random search result for hashtags 2013-09-20 17:35:42 -07:00
Ryan Hitchman 4fd611da09 Merge pull request #84 from axisofentropy/master
Re-added support for twitter hashtag searches.
2013-09-20 17:31:58 -07:00
Ryan Hitchman 771118f0c7 Merge pull request #83 from Atheuz/development
tvdb.py: When there's a next episode date, provide a time until in the return string.
2013-09-20 14:30:39 -07:00
Ryan Hitchman 52b90119a6 plugins/google: use custom search API instead of (deprecated) AJAX api 2013-09-20 14:04:58 -07:00
Ryan Hitchman 80548ca8f9 plugins/seen: don't use LIKE (SQL wildcards confuse people), compare lowercase nicks instead 2013-09-20 13:13:36 -07:00
Ryan Hitchman e0518f6c2a plugins/tag: if there are too many tags to display, remove some of them 2013-09-20 13:01:54 -07:00
Adam Vollrath 93dc115048 Re-added support for twitter hashtag searches. 2013-08-17 00:35:00 -04:00
Lasse Vang Gravesen 8c47b0c2e1 Renamed first_aired variable to episode_air_date in tvdb plugin. 2013-08-10 02:27:06 +02:00
Lasse Vang Gravesen d9b9558776 tvdb.py: When there's a next episode date, provide a time until in the return string. 2013-08-10 02:18:24 +02:00
Ryan Hitchman 310863a2b9 weather: store input location in db, not fragment of location. fixes #82 2013-08-07 20:29:02 -07:00
Bryan Koroleski bc84e9e2d9 Re-added support for getting the nth tweet on a user's timeline. 2013-07-30 15:50:37 -05:00
Ryan Hitchman 4bc268f5a4 cleanup twitter plugin 2013-07-04 13:48:35 -05:00
Ryan Hitchman f3c034df2e Merge pull request #75 from wuddup/master
New twitter plugin with support for API 1.1
2013-07-04 11:25:51 -07:00
Ryan Hitchman 89a8da4ad9 Merge pull request #68 from dpedu/master
Fixed display of /me
2013-07-04 11:24:30 -07:00
Ben a1c44336dd New, simplified twitter plugin with support for API 1.1. 2013-06-26 11:35:39 -07:00
DJCrabhat 2e44b5212d implemented delete
del_quote function was defined, but couldn't be called from the command
parser
2013-04-07 03:48:57 -04:00
Bryan Koroleski fa2bc85082 Fixes .bitcoin command to use the new mtgox API. 2013-03-25 18:59:15 -05:00
Dave Pedu aa6ca6a23f Fixed display of /me 2013-02-24 01:13:12 -05:00
Ryan Hitchman b16e833908 fix somethingawful post count 2013-02-16 23:54:35 -06:00
Ryan Hitchman a29dffbfb7 refactor apikey retrieval, fix lastfm with empty input 2013-01-27 16:40:31 -06:00
Ryan Hitchman 92c6e991e7 cleanup rottentomatoes 2013-01-27 16:05:40 -06:00
Ryan Hitchman f42b8ec280 fix imdb 2013-01-27 16:04:19 -06:00
Ryan Hitchman 8650c8dd39 Merge pull request #65 from tomjakubowski/yahoo-answers
Add Yahoo! Answers plugin
2013-01-27 13:16:30 -08:00
Ryan Hitchman d4461c2b29 Merge pull request #57 from Atheuz/master
UrbanDictionary fixed, required me to change http.py - Also minor nitpick with stock.py
2013-01-27 13:15:51 -08:00
Tom Jakubowski 42d78d06ae Add Yahoo! Answers plugin
The .answer command will search Yahoo! Answers with the given query and
respond with one of the 'chosen' answers returned by Yahoo's API and a
link to the question.
2013-01-19 20:12:11 -08:00
Ed Ceaser f08d035bf7 change the twitter base url to api v1 2012-10-21 13:12:36 -07:00
Chris Skalenda 6bf00fa944 Switch the weather plugin to the wunderground api 2012-09-22 16:21:01 -06:00
Lasse Vang Gravesen 2b321a932e imdbapi.com moved to omdbapi.com, so that's fixed. 2012-09-19 18:22:48 +02:00
Andrew Vehlies ff2155f372 Added PSV and 3DS 2012-07-28 17:46:11 -04:00
Lasse Vang Gravesen 12cd3521e5 Problem with urbandict plugin fixed by replacing \r\n with a space 2012-07-18 18:39:51 +02:00
Lasse Vang Gravesen 68e5535ca4 Added referer field to http.py, as to make it possible to use a referer. I
don't know if this was possible before, and if it was it should be removed
and the appropriate changes should be made without the http.py change.

Stock plugin output was changed so the percent change has an actual
percentage sign after it.

UrbanDictionary plugin was changed to use a referer because it didn't work
without it.
2012-06-03 01:08:30 +02:00
stoneLeaf 4770c8c227 Updated the Google Translate plugin
The Google Translate API v1 has been stopped since December 1, 2011. From now on, the API is a paid service only.
The plugin has been updated to support v2 and grab the (mandatory) API key from the bot config file.
2012-04-12 16:11:52 +02:00
stoneLeaf b939a94be7 Improved the Last.fm plugin
The API key is now retrieved from the bot config file and the API response is more thoroughly analyzed.
2012-04-12 14:02:36 +02:00
stoneLeaf 25116e20f9 Fixed the suggest plugin
The API get request needed to be tweaked.
2012-04-12 03:41:35 +02:00
stoneLeaf 3c9e6a6736 Added a check to the oblique plugin
Checks if lines can be split.
2012-04-12 03:02:46 +02:00
stoneLeaf b279f96af0 Updated Encyclopedia Dramatica's url
On March 21, 2012, the website moved to a Swedish domain name: http://encyclopediadramatica.se
2012-04-12 02:11:33 +02:00
stoneLeaf ff1832c471 Fixed a locale issue in the youtube plugin
locale.format() can throw a UnicodeDecodeError in some cases. The use of str.decode() prevents its occurrence.
See http://stackoverflow.com/questions/4082645/using-python-2-xs-locale-module-to-format-numbers-and-currency
2012-04-12 01:52:32 +02:00
Ryan Hitchman b3e97f2500 make wolframalpha and urban use apis instead of scraping 2012-02-10 15:04:05 -06:00
Ryan Hitchman a3b295b0c0 update .calc to use lxml, fixes #44 2011-11-07 14:16:56 -06:00
Ryan Hitchman a8eea42f14 revert wikipedia namespace 2011-10-22 15:11:59 -05:00
Ryan Hitchman e2fb20f64c fix wikipedia search (they changed the xml namespace) 2011-10-05 00:27:17 -05:00
Brian Armstrong 5c29e27b43 Patched remember append bug 2011-07-25 02:06:52 -05:00