Commit graph

788 commits

Author SHA1 Message Date
Luke Rogers 3b5fe6f4bb . 2012-10-17 11:24:25 +13:00
Luke Rogers 6ae302bf48 Tweaked mctools.py, added new rss.py plugin 2012-10-17 11:00:43 +13:00
Luke Rogers ab02d10674 Two more name generators 2012-10-13 14:53:35 +13:00
Luke Rogers 5f0d5f62a2 A few tweaks to plugins: weather.py now uses web.query for YQL, spellcheck.py has some renamed variables and uses new string formatting, choose.py has a nicer fail message. 2012-10-13 14:02:22 +13:00
Luke Rogers de67aad764 Forgot a file 2012-10-13 12:33:17 +13:00
Luke Rogers f74e8fbcd0 Removed random egocomment 2012-10-13 12:11:41 +13:00
Luke Rogers 72ed3c504f web.isgd() now throws an error when it cant shorten a URL 2012-10-13 12:10:02 +13:00
Luke Rogers 28345b9c56 Renamed function in ./util/text.py, adjusted some values for cutting off text. 2012-10-13 11:49:42 +13:00
Luke Rogers f799e477e3 Updated the CloudBot useragent, added some new ones 2012-10-13 11:07:48 +13:00
Luke Rogers b6114a8617 tweak 2012-10-12 23:08:03 +13:00
Luke Rogers 7d9b3c35fe Improved title plugin 2012-10-12 23:01:37 +13:00
Luke Rogers cf377e1800 Fixed title plugin 2012-10-12 22:34:48 +13:00
Luke Rogers 00d80f0122 Redid that last commit. 2012-10-12 21:56:09 +13:00
Luke Rogers 264b765831 Removed silly insults. 2012-10-12 16:13:06 +13:00
Luke Rogers 85ff0d93b6 stuff 2012-10-12 12:23:37 +13:00
Luke Rogers 06f14ee59a Tweaked namegen.py a bit 2012-10-12 09:35:05 +13:00
Luke Rogers 8d840723d4 Improved the item name genrat generator a bit \o/ 2012-10-12 09:00:11 +13:00
Luke Rogers 0ed1a8b4c0 Removed old whois plugin before redesigning it 2012-10-11 20:09:25 +13:00
Luke Rogers 38e37bda3a Added elven name files 2012-10-11 19:56:47 +13:00
Luke Rogers 44945aa50c Ported more name generators, fixed a bug. 2012-10-11 19:45:49 +13:00
Luke Rogers 5fce23b522 Removed debug code, switched to fancy new string formatting. 2012-10-11 19:07:25 +13:00
Luke Rogers 1fa16fe587 New name generator :) 2012-10-11 17:47:27 +13:00
Luke Rogers 47335c2832 dat api 2012-10-06 16:24:34 +13:00
Luke Rogers 6fe8fbaee6 Merge branch 'develop' of github.com:ClouDev/CloudBot into develop 2012-10-01 21:31:55 +13:00
Luke Rogers 04d1de1ac8 removed skin server check 2012-10-01 21:31:08 +13:00
Luke Rogers 543811d009 FFFFFFFFFFFFFF 2012-09-13 09:19:21 +12:00
Luke Rogers 22543f2206 stupid stupid stupid 2012-09-13 09:14:58 +12:00
Luke Rogers 80e58edc56 no this 2012-09-13 09:08:24 +12:00
Luke Rogers fd7a6b2230 Made .coin with no arguments work again 2012-09-13 09:05:03 +12:00
Luke Rogers aef3b7acad Merge branch 'develop' of github.com:ClouDev/CloudBot into develop 2012-09-12 17:04:24 +12:00
Luke Rogers 2b9ac70a99 added weather forecast 2012-09-12 17:04:04 +12:00
Luke Rogers c2f112b93e Move multiword_replace later in the code 2012-09-12 11:30:46 +12:00
Luke Rogers f2e117eb07 Dem nazis 2012-09-12 07:39:15 +12:00
Luke Rogers 24d6c059e1 Double fail! 2012-09-12 07:35:57 +12:00
Luke Rogers d1f45cd06e And here is the bug 2012-09-12 07:33:30 +12:00
Luke Rogers 2995e3b758 And... done! (until I find some huge horrible bug, that is) 2012-09-12 07:18:06 +12:00
Luke Rogers 99cd93ae8f placeholder for more work tomorrow 2012-09-12 00:36:18 +12:00
Luke Rogers 1e21c07c47 more tweaks 2012-09-12 00:27:26 +12:00
Luke Rogers 991f6bdfe6 refucktored the weather plugin some more 2012-09-12 00:16:06 +12:00
Luke Rogers 16d26a0a01 Rewrote weather.py to use YQL 2012-09-11 10:17:30 +12:00
Luke Rogers fbdeacdc76 Early version of new weather plugin (this thing is huge :[) 2012-09-10 22:55:34 +12:00
Luke Rogers 8c33af02ae Update plugins/factoids.py 2012-09-10 12:12:45 +12:00
Luke Rogers 8980610aa9 Update plugins/coin.py 2012-09-07 10:50:25 +12:00
Luke Rogers 75b07b2584 Improved coin.py 2012-09-06 16:52:32 +12:00
Luke Rogers 72b7c3ed2d BeautifulSoup unescapes HTML for you 2012-09-06 14:11:49 +12:00
Luke Rogers 03b4ad4239 BeautifulSoup unescapes HTML for you 2012-09-06 14:08:59 +12:00
Luke Rogers 394a07235d mcstatus now checks the minecraft skin servers 2012-09-06 07:28:27 +12:00
Luke Rogers 50e575752d mcstatus catches errors 2012-09-06 07:16:56 +12:00
Luke Rogers 9112fed2f6 json 2012-09-06 00:13:13 +12:00
Luke Rogers dd8e369ce5 I hate this Python API 2012-09-05 22:35:46 +12:00
Luke Rogers 61752baa24 Various tweaks 2012-09-05 21:35:44 +12:00
Luke Rogers 6bb9819501 Gah, forgot something >_> 2012-09-05 21:09:23 +12:00
Luke Rogers dafa9d4d94 GeoIP now shows regions for all countire 2012-09-05 20:56:50 +12:00
Luke Rogers 366cb44f0a Now shows state for US hosts and handles missing data better 2012-09-05 16:41:49 +12:00
Luke Rogers 21153b8246 Rewrote geolocation code (more features and size optimisations coming soon 2012-09-05 16:25:51 +12:00
Luke Rogers 4562f59cab Tweaks 2012-09-05 11:41:32 +12:00
Luke Rogers accf84401f Forgot to add this -.- 2012-09-05 11:09:54 +12:00
Luke Rogers 62cf93bd52 Rewrote fact.py (screw this shitty website, so many failure points) 2012-09-05 11:04:01 +12:00
Luke Rogers 47b7836088 Rewrote retry loop in execute.py 2012-09-05 10:11:12 +12:00
Luke Rogers 8ef57a6250 Made the haste() function in web.py use the post_text feature from http.py 2012-09-05 08:18:05 +12:00
Luke Rogers 1843b6a28c Bugfix 2012-09-05 08:11:45 +12:00
Luke Rogers 19efd08634 Started refactoring factoids.py again. 2012-09-05 08:09:08 +12:00
Luke Rogers e12e7721da PEP8, various other tweaks 2012-09-05 07:52:03 +12:00
Luke Rogers 6c022dac1c Tweaked http.py, started rewriting urlparse.py 2012-09-05 07:41:52 +12:00
Luke Rogers 8e877416a7 Made help.py and tell.py use the command prefix properly 2012-09-05 07:01:03 +12:00
Luke Rogers fa63329509 Removed wordoftheday, updated password.py 2012-09-04 22:38:54 +12:00
Luke Rogers 16573eb482 Moved fact.py over to BS4 (I need to rewrite fact.py soon, it's a bit outdated and somewhat broken), removed old htmlstipper library 2012-09-04 09:58:59 +12:00
Luke Rogers b536bbf754 Removed old bit.ly code, changed some things around 2012-09-04 09:51:15 +12:00
Luke Rogers 4b7cbb118c Updated gcalc.py to use included copy of BeautifulSoup. 2012-09-04 09:28:24 +12:00
Luke Rogers 6b4042972b Testing the ability to include libraries with the bot 2012-09-04 09:09:57 +12:00
Luke Rogers c44b1dcd6a Moved haste() to util/web 2012-09-02 23:48:47 +12:00
Luke Rogers 23dde386d0 Unbroke youtube 2012-08-30 22:30:29 +12:00
Luke Rogers fef3cfe92a ban(s) 2012-08-29 14:22:58 +12:00
Luke Rogers 56a656f691 Merge branch 'develop' of github.com:ClouDev/CloudBot into develop 2012-08-28 23:17:17 +12:00
Luke Rogers b4477ddab9 Removed info plugin. (channels lets people see secret channels, prefix is silly) 2012-08-28 23:16:42 +12:00
puffrfish 6f2226b4cc Added color to mcstatus 2012-08-28 02:53:20 -03:00
Luke Rogers 9b19225f65 More trollproofing. 2012-08-28 17:19:13 +12:00
Luke Rogers d0c0ab76f3 Use triple quotes as a workaround for issues 2012-08-28 17:06:21 +12:00
Luke Rogers 30f1c18d94 Added (working) first version of new python thingy 2012-08-28 16:51:26 +12:00
Luke Rogers 2871bd3211 Switched to using is.gd for URL shortening 2012-08-28 16:38:40 +12:00
Luke Rogers 3fa8d5d312 Added early untested version of new python exec code - this probably will not work. 2012-08-28 11:29:08 +12:00
Luke Rogers bc847f3fb8 Changed API url 2012-08-28 08:25:31 +12:00
Luke Rogers 885e1ca155 Added first version of fishbans command. 2012-08-28 07:53:49 +12:00
Luke Rogers 27b42e3ea4 Merge branch 'develop' of github.com:ClouDev/CloudBot into develop 2012-08-28 07:09:20 +12:00
Luke Rogers 70591c51e5 Poking stuff 2012-08-28 07:08:09 +12:00
Luke Rogers b7f3d29f6e mothertruckers 2012-08-28 00:32:04 +12:00
Luke Rogers 41f5e64023 added new mcstatus 2012-08-28 00:29:03 +12:00
Luke Rogers 2cc4700162 Added LMGTFY Plugin 2012-08-28 00:22:03 +12:00
Luke Rogers ad7d5b30dd Rewrote slogan plugin to make slogans locally 2012-08-23 14:56:00 +12:00
Luke Rogers 9f174f66dc Switched from youtube.com to youtu.be 2012-08-21 08:34:24 +12:00
Luke Rogers d8d270a076 Tweaks 2012-08-21 08:32:12 +12:00
Luke Rogers a1efe30f8f More tweakery 2012-08-21 08:11:48 +12:00
Luke Rogers 65da0d345c Removed flip plugin. 2012-08-21 08:07:12 +12:00
Luke Rogers 98930f8285 Pepping and tweaks 2012-08-21 08:02:49 +12:00
Luke Rogers 7bdbb376b8 Pepping 2012-08-21 07:49:22 +12:00
Luke Rogers 1325958546 Fixed bug with time after seeing it in a users log 2012-08-01 07:25:35 +12:00
Luke Rogers b41e659dbd Update plugins/urban.py 2012-07-30 10:37:50 +12:00
Luke Rogers 8c2c9c5530 Tweaked dice 2012-07-14 03:32:26 +12:00
Luke Rogers 05e5f83093 added reddit plugin from some guy 2012-07-13 00:55:10 +12:00
Luke Rogers 7ec200105a tweaks done while working on CloudWeb 2012-06-12 16:50:02 +12:00
Luke Rogers 51bcddd44a fixes 2012-06-12 09:45:23 +12:00
Luke Rogers 3cab25f123 Merge branch 'develop' of github.com:ClouDev/CloudBot into develop 2012-06-12 09:34:49 +12:00
Luke Rogers b43b52e3f3 fix 2012-06-12 08:15:39 +12:00
Luke Rogers 20b0e46a28 Update develop 2012-06-11 10:36:29 +12:00
Luke Rogers f2ec2eb8d3 derp 2012-06-11 10:24:30 +12:00
Luke Rogers a47d99c0c2 Update develop 2012-06-11 10:21:44 +12:00
Luke Rogers ce53be53d2 Moved the colour code to only run when first loading the plugin 2012-06-08 11:42:30 +12:00
Luke Rogers d27185913f Fixed up a namefile 2012-06-08 10:58:42 +12:00
Luke Rogers abc5d196ba Added some new Minecraft 1.3 items, Thanks Mufin! 2012-06-06 15:45:02 +12:00
neersighted 90af9c0979 made 8ball.py use data/, and refactored it slightly (unused imports) 2012-06-05 17:09:19 -07:00
Luke Rogers 7f381012d5 added a proper error message 2012-06-05 20:44:45 +12:00
Luke Rogers aafdf42449 Added date 2012-06-04 02:57:00 +12:00
Luke Rogers 20dd9968b3 Added fix for old stock symbols, eg: APPL 2012-06-04 02:53:23 +12:00
Luke Rogers f589133d80 Fixed .urban, added % to stock.py - Thank you @Atheuz :) (original commit: 68e5535ca4) 2012-06-04 02:41:19 +12:00
Luke Rogers 56c71ee0a7 Dat spelling 2012-05-22 08:16:29 +12:00
Luke Rogers 14c38564d2 Kills need more violence, apparently 2012-05-22 08:13:13 +12:00
Luke Rogers e884f4dd17 Changed how dynamic factoids work part 1 2012-05-20 16:26:17 +12:00
Luke Rogers c5e05c0063 Merge branch 'develop' of github.com:ClouDev/CloudBot into develop 2012-05-19 22:10:14 +12:00
Luke Rogers afcdd66e05 Added support for more game consoles to MetaCritic, and made the output look nicer 2012-05-19 22:09:43 +12:00
Luke Rogers 9c27f3ac06 Moar tweakage 2012-05-17 11:52:31 +12:00
Luke Rogers a2bfaf6ca5 Tweaked a few things 2012-05-17 11:45:07 +12:00
Luke Rogers 1078f12770 Cleaned up mcitems a bit 2012-05-17 07:47:49 +12:00
Luke Rogers ace1743891 More bug squashing 2012-05-17 07:45:59 +12:00
Luke Rogers e8e7c297ef Bug fix 2012-05-17 07:45:16 +12:00
Luke Rogers 496d5c4f9d Updated fortune.py to match other plugins 2012-05-17 07:41:41 +12:00
Luke Rogers 27198b3425 Tweaked messages 2012-05-17 07:36:17 +12:00
Luke Rogers 59c8273820 Tweaked code, moved admins back to admins.py, moved channels to info.py 2012-05-17 07:32:48 +12:00
neersighted 4826df54f9 Updated mcitems.py command names 2012-05-15 20:08:26 -07:00
neersighted 54cf797b1e Updated helpstrings 2012-05-15 20:07:27 -07:00
neersighted 75a001ad5d Added the prefix to help.py, so that help messages show the right prefix 2012-05-15 19:54:11 -07:00
neersighted 284733d91a Moved .admins to info.py, and added a command to get the bot's prefix 2012-05-15 19:37:47 -07:00
Luke Rogers 28301e62e1 bugfix 2012-05-15 10:18:03 +12:00
Luke Rogers b22f20d8ac Modernising 2012-05-15 10:16:41 +12:00
Luke Rogers 562fa4551c New truncate code 2012-05-14 08:12:58 +12:00
Luke Rogers 1d59121815 Meh 2012-05-13 23:45:25 +12:00
Luke Rogers 623d3e7c68 Durp 2012-05-13 20:13:07 +12:00
Luke Rogers 119b4fdebd Added check for factoid input 2012-05-13 19:58:17 +12:00
Luke Rogers bdc35a48b9 I'
m an idiot
2012-05-13 17:45:18 +12:00
Luke Rogers 7f98bf912c Dynamic factoids (and normal ones) can now take input with inp 2012-05-13 17:40:17 +12:00
Luke Rogers d15e4ff3cf Fixes 2012-05-13 17:21:03 +12:00
Luke Rogers 4d7c94f6da Added support for dynamic python factoids :D 2012-05-13 17:11:59 +12:00
Luke Rogers 9906bfbcb6 Tweaks 2012-05-13 13:50:28 +12:00
Luke Rogers be7eb12ade PEP-8 2012-05-13 13:31:37 +12:00
Luke Rogers 4dc3980d99 factoids just got a whole lot more dynamic 2012-05-13 13:09:14 +12:00
Luke Rogers 8358134ec6 Scumbag API renamed some fields X.X 2012-05-13 02:10:05 +12:00
Luke Rogers da9441a5e1 Merge branch 'develop' of github.com:ClouDev/CloudBot into develop 2012-05-11 07:43:27 +12:00
Luke Rogers d5ba3e2e56 Tweaked hash command 2012-05-11 07:40:27 +12:00
Luke Rogers 57e4838970 Looks nicer if it all matches 2012-05-10 09:18:51 +12:00
Luke Rogers fc1f7cd193 We don't need these 2012-05-10 09:16:24 +12:00
Luke Rogers 37b50b3fee Merge branch 'develop' of github.com:ClouDev/CloudBot into develop 2012-05-10 07:55:29 +12:00
neersighted 742fc505dd Updated code in feelings.py to match violence.py 2012-05-09 12:58:28 -07:00
Luke Rogers 849c86f003 PEP-8 2012-05-10 07:54:30 +12:00
neersighted 78d5cad819 Fixed derpcode (import IN a command) 2012-05-09 12:52:24 -07:00
Luke Rogers d09e493515 Moved an import 2012-05-10 07:47:57 +12:00
Luke Rogers 16a9279b21 Silly people flipping 0 coins >< 2012-05-09 13:30:50 +12:00
Luke Rogers 88723d21a4 Tuples! 2012-05-09 13:26:52 +12:00
Luke Rogers f0c23808f9 Moar 2012-05-09 12:22:34 +12:00
Luke Rogers e810102f8b Updated violence to use list comprehensions 2012-05-09 12:05:41 +12:00
Luke Rogers 4ebddda3c8 PEP-8 2012-05-09 07:54:55 +12:00
Luke Rogers a54a061793 Changed method of formatting memory usage. 2012-05-08 23:28:48 +12:00
Luke Rogers 8396b7d36c Removed DerpCode 2012-05-07 11:58:29 +12:00
Luke Rogers 55a8b284b8 Merge branch 'develop' of github.com:ClouDev/CloudBot into develop 2012-05-01 00:42:16 +12:00
Luke Rogers a018763cb7 time.py now handles unknown locations correctly 2012-05-01 00:41:20 +12:00
neersighted 8b8013ed38 added geoNICK to geoip.py 2012-04-29 20:38:38 -07:00
Luke Rogers 5468d80b69 Merge branch 'develop' of github.com:ClouDev/CloudBot into develop 2012-04-30 02:03:54 +12:00
Luke Rogers 7529cb2ba3 PEP-8 2012-04-30 02:02:14 +12:00
Luke Rogers fbf836a472 Update plugins/seen.py 2012-04-28 17:15:23 +12:00
Luke Rogers 546a40ccfb Oops 2012-04-28 03:12:00 +12:00
Luke Rogers 51484a2c11 Renamed some config options because I'm evil 2012-04-27 17:47:18 +12:00
Luke Rogers a7299b2aa6 Lastfm now tells you how long ago a user listened to a song 2012-04-27 00:27:19 +12:00
Luke Rogers edb5979340 Update plugins/weather.py 2012-04-26 22:15:33 +12:00
Luke Rogers 547e5f93e8 Forgot a comma. Rage 2012-04-26 13:29:03 +12:00
Luke Rogers b7972bde45 Fixed up formatting 2012-04-26 13:17:40 +12:00
Luke Rogers 9abfe9de14 Added full Celsius support to .weather 2012-04-26 13:12:04 +12:00
Luke Rogers ff5a4b0e3b A quick tweak 2012-04-26 12:52:19 +12:00
Luke Rogers ba0620aa39 Enabled SafeSearch 2012-04-26 12:33:55 +12:00
Luke Rogers 7ab4a36379 Update plugins/lastfm.py 2012-04-26 10:26:53 +12:00
Luke Rogers c5585633c6 Fixed bugs 2012-04-25 19:59:11 +12:00
Luke Rogers 5185b13621 Oops, forgot default parmeter and an import 2012-04-25 19:48:14 +12:00
Luke Rogers ec0eae4bf6 Case sensitivity is better then derpy case-insensitivity 2012-04-25 14:03:20 +12:00
lukeroge c489454b0e Its probably a bad idea to rename modules - its a pain to change all of the references to them 2012-04-25 03:07:01 +12:00
Luke Rogers 4538b67a20 Changed formatting > text 2012-04-24 08:51:54 +12:00
Luke Rogers d34b14dfde Moved ./formatting.py to ./text.py 2012-04-24 08:41:22 +12:00
Luke Rogers 8783cb3f0d Split .urban from dictionary.py 2012-04-24 00:07:17 +12:00
Luke Rogers 9602fc8e8e Trimmed some stuff 2012-04-23 22:41:52 +12:00
Luke Rogers 9427501433 wc_cats is now.. insanely huge (pulled list from https://github.com/lukeroge/wc_gen/) 2012-04-23 21:59:13 +12:00
Luke Rogers 5732982873 forgot to update this library, derp 2012-04-23 21:46:52 +12:00
Luke Rogers 82cf1d337b Small formatting derp in wolframalpha.py 2012-04-23 21:41:51 +12:00
Luke Rogers 04457beb11 Various namegen tweaks 2012-04-23 21:38:21 +12:00
lukeroge 72cd127aa3 Kill tweaks 2012-04-23 13:51:26 +12:00
lukeroge 86facabf70 Update plugins/coin.py 2012-04-23 13:29:25 +12:00
lukeroge b5fbcaaefc Optimized some older code. 2012-04-23 13:16:08 +12:00
neersighted 99ce2f09a6 changed max coins on request of R2D2Warrior 2012-04-22 17:54:14 -07:00
lukeroge 1ca04b6b3e Random tweaks 2012-04-23 11:58:19 +12:00
lukeroge 2e597038ea Why was this code even here? o-o 2012-04-23 11:40:45 +12:00
lukeroge 5281cc6fff Oops, forgot to remove that line 2012-04-23 11:38:34 +12:00
lukeroge a80b8b7eb8 Tweaks 2012-04-23 11:35:52 +12:00
Luke Rogers 36dcf308d3 Changed method of adding http:// sot URLS 2012-04-23 07:44:25 +12:00
Luke Rogers 240440ac13 Added Django license 2012-04-22 04:35:10 +12:00
Luke Rogers c0ebc097b1 Extended formatting library 2012-04-22 04:26:24 +12:00