Commit Graph

54 Commits

Author SHA1 Message Date
James Vega
ec3dba0a52 Add Windchill and Severe Weather to Weather.wunder 2005-01-18 18:47:45 +00:00
Jeremy Fincher
a29c4b216a Converted to use irc.isChannel rather than ircutils.isChannel. 2004-12-16 07:56:57 +00:00
James Vega
e4fa4dec7b Prevent two replies when @weather succeeds 2004-12-06 20:31:47 +00:00
James Vega
fda6b572a7 Make sure we reply if all of our fallbacks fail. 2004-11-16 00:55:00 +00:00
James Vega
b135107038 Fix bug #1063950, traceback when Weather is an unexpected format. 2004-11-12 16:24:10 +00:00
James Vega
e63d93d48f Let's not check explicitly for None, just to be safe. 2004-10-26 12:47:08 +00:00
James Vega
2adef7c265 Make Weather.weather actually work as a wrapped command calling wrapped
commands and using the user registry.
2004-10-25 08:30:04 +00:00
Jeremy Fincher
0d2b710aa2 commands.wrap. 2004-10-23 20:26:40 +00:00
James Vega
168e61aef8 Finally fix bug #1034916, Weather.wunder exception 2004-10-23 16:05:22 +00:00
James Vega
e14a336b1d Added multiLoc support to Weather.cnn 2004-10-11 12:09:59 +00:00
Jeremy Fincher
d7fc280647 Weather backups. 2004-10-09 04:39:10 +00:00
James Vega
d5a324a0d2 It's nice when Weather.weather works. 2004-09-25 17:55:22 +00:00
James Vega
f2d064cfac Forgot muh spaces 2004-09-22 22:23:54 +00:00
James Vega
89f6d285b0 Fix bug #1032402, and convert to use commands.wrap. 2004-09-22 22:10:16 +00:00
James Vega
c873d0eabb Update Weather.wunder to use BeautifulSoup. Remove the #! line and add a
__contributors__ line.
2004-09-19 21:14:43 +00:00
Jeremy Fincher
ee70224aa3 Changed callCommand to give a name rather than a method; added invalidCommand throttling, ctcp throttling, and whole bunch of other crap. 2004-09-08 23:34:48 +00:00
Jeremy Fincher
82791571c1 Fixed some bugs in some callCommands, as well as used some super calls where before we did it the wrong way. 2004-09-01 04:55:08 +00:00
Jeremy Fincher
fbb348b6e7 Copyright updates. Again, more is left to be done, but this is my part. 2004-08-23 13:14:06 +00:00
James Vega
bb36f4877f If wunderground finds multiple locations, let's return the results for the
first location they list.  Also, default Weather.weather to Weather.wunder
2004-08-18 19:32:15 +00:00
Jeremy Fincher
2e8bd9a012 Oops, typo. 2004-08-18 19:03:44 +00:00
Jeremy Fincher
820c6e8e29 Refactoring for improved handling of errors later. 2004-08-18 18:55:54 +00:00
Jeremy Fincher
544bfa35da Current temperature *in*, not *at*. 2004-07-29 18:36:45 +00:00
Jeremy Fincher
f9c61271ea w00, less path mungingEXCLAIMEXCLAIM 2004-07-24 05:18:26 +00:00
Jeremy Fincher
2b506b2fc7 Made setUserValue argument order consistent with userValue argument order. 2004-07-20 07:34:22 +00:00
Jeremy Fincher
4a7e2dba20 Example plugin helps. 2004-07-20 05:26:52 +00:00
James Vega
0585ccb090 Improve Weather.wunder's UV report and add heat index reporting 2004-07-18 22:25:12 +00:00
James Vega
b77a16f9e4 hamweather changed on us 2004-06-06 21:21:15 +00:00
James Vega
4479c43d1d Cleaned up regexp naming so that it is more consistent and easier to use with
multiple weather commands. Added Weather.wunder.
2004-06-04 19:49:08 +00:00
Daniel Berlin
583f08f3da Ignore no user error when trying to set last location 2004-05-02 16:21:35 +00:00
Jeremy Fincher
ae542511be Our first use of the userdata registry! 2004-04-30 18:36:16 +00:00
James Vega
403a561671 Add supybot.plugins.Weather.convert, which determines weather or not whether
will convert temperature to the configured unit.
2004-04-14 00:26:08 +00:00
Jeremy Fincher
cc9522e833 Slight cleanup. 2004-03-30 08:32:17 +00:00
James Vega
a1e48a8ff7 Make sure the Wind Chill and Heat Index temps are configurable in Weather.ham 2004-03-26 00:28:51 +00:00
James Vega
6a211adb42 YAPMR 2004-03-19 16:58:54 +00:00
James Vega
8590bc2134 weatherCommand -> command 2004-02-25 15:46:22 +00:00
James Vega
0e574d7144 Forgot something 2004-02-23 11:35:06 +00:00
James Vega
e5ce3c8ee9 A few more fixes/cleanups 2004-02-23 11:08:22 +00:00
Jeremy Fincher
52230d16e1 Somewhat fixed. 2004-02-23 09:49:47 +00:00
Jeremy Fincher
295eafcb37 Added weather command. 2004-02-23 09:05:12 +00:00
James Vega
6f24ebecce Fixed some things with WeatherUnit and temperature parsing in Weather.cnn 2004-02-21 21:49:44 +00:00
James Vega
d3b8c25255 Added Weather.cnn, which retrieves weather from weather.cnn.com.
Renamed Weather.weather to Weather.ham in preparation for jemfinch adding the
ability to specify which service to use when Weather.weather is called.
Added ability to specify default temperature units in which to report the
temperature.
2004-02-21 21:11:50 +00:00
Jeremy Fincher
c0dad919d6 Updated. 2004-02-17 06:29:19 +00:00
Jeremy Fincher
5f18d57262 Slight stylistic updates. 2004-02-08 07:16:58 +00:00
Jeremy Fincher
04b2ecd5e6 Minor updates. 2004-02-08 06:24:00 +00:00
James Vega
fac4c5624c Removed any unnecessary configure methods (ones that only called
conf.registerPlugin) and changed all other configure methods to accept the
advanced argument instead of onStart.
2004-01-29 23:58:27 +00:00
James Vega
bc11f76166 Updated configure() to only take one argument (onStart) and switched all of
the onStart.append('load pluginName') calls to
conf.registerPlugin('pluginName', True)
2004-01-28 22:19:25 +00:00
Jeremy Fincher
75d529872a Remove some tabs. 2004-01-11 14:47:44 +00:00
James Vega
cb73cc3b73 Add some logic to the wind chill/heat index regexes so that they don't grab
N/A and clean up the construction of the index string.
2004-01-09 02:50:23 +00:00
James Vega
626958bef9 Change the path back to normal and switch irc.reply back to how it should be 2004-01-09 00:06:48 +00:00
James Vega
db16ba33ad Guess I should make sure I delete the debug line and not the code line 2004-01-08 23:45:22 +00:00