Commit Graph

1219 Commits

Author SHA1 Message Date
thenoodle68 cdf8922f4d Added decades and centuries
Will need slightly different logic for different naming conventions.
2013-11-30 19:33:12 +08:00
Luke Rogers f55c8f8d4e improved the time format function some more 2013-11-30 23:18:45 +13:00
Luke Rogers 78912b908f this mostly works (should we make those time functions another module?) 2013-11-30 21:16:44 +13:00
Luke Rogers fb08870f4a bunch'o'stuff 2013-11-30 19:19:04 +13:00
Luke Rogers 2fa3a5a015 er 2013-11-30 17:40:09 +13:00
Dabo Ross 323d045868 Remove executable permissions 2013-11-29 19:47:40 -08:00
Luke Rogers 4ccfd1e3ca Newegg URL parser? :D 2013-11-30 16:37:01 +13:00
Luke Rogers 834cbaabd8 *puffs* 2013-11-30 00:21:26 +13:00
Luke Rogers d3fbf1bc80 bitbitbit 2013-11-30 00:05:55 +13:00
Luke Rogers 3825c94c9d im feeling bold 2013-11-29 22:08:38 +13:00
Luke Rogers 9c7e2074f5 comments! 2013-11-29 21:59:48 +13:00
Luke Rogers 8d7f853426 Furthere tweaks to newegg 2013-11-29 20:40:18 +13:00
Luke Rogers 49bb446c27 Added newegg item search command! 2013-11-29 20:00:41 +13:00
Luke Rogers 44c7bceaf4 workaround 2013-11-29 18:16:17 +13:00
Luke Rogers 0bb1574ebd plurals and fanciness 2013-11-29 16:35:41 +13:00
Luke Rogers 85d8c4e5cb switched youtube to like/dislike 2013-11-29 16:30:06 +13:00
Luke Rogers 2d5208cbde commacommacommacommacommacommacomma 2013-11-29 16:18:18 +13:00
Luke Rogers d78f96b3ec . 2013-11-29 11:55:07 +13:00
Luke Rogers 9bc72bc57f more mcping stuff 2013-11-29 11:45:18 +13:00
Luke Rogers 8d42933554 Merge pull request #181 from daboross/patch-3
Update minecraft_ping.py to 1.7
2013-11-28 14:26:05 -08:00
Luke Rogers e75fe73563 wop 2013-11-29 11:18:25 +13:00
Luke Rogers 29b25e0b1f Tweaks to twitter 2013-11-29 11:13:11 +13:00
Luke Rogers 2b5f5e925d v 2013-11-29 01:14:58 +13:00
Luke Rogers f95b607914 cbf 2013-11-29 01:06:12 +13:00
Luke Rogers 181b43df71 gold k 2013-11-29 01:03:34 +13:00
Luke Rogers 1ecdd3a246 magic? 2013-11-29 00:36:54 +13:00
Luke Rogers 13c7e5915b rouunndddinng 2013-11-29 00:04:28 +13:00
thenoodle68 2e66e03c7d Add litecoin command reading from BTC-E 2013-11-28 18:48:11 +08:00
Dabo Ross a5a5fd2dfb Update minecraft_ping to 1.7, add commands mcping6 and mcping7 for version-specific pings, having mcping try 7 and revert back to 6 is failed. 2013-11-27 03:49:06 -08:00
Andy Eff cbe4e3177e uhh 2013-11-27 17:54:09 +13:00
Luke Rogers f51bcf4ecf Merge pull request #183 from bbeng89/develop
Bug fixes in reddit and github plugins
2013-11-26 19:51:05 -08:00
Blake Bengtson b2c9f46d78 Fixed bug with ghissues truncate function. (newlines were causing problems) 2013-11-26 16:32:54 -06:00
Blake Bengtson 186f272062 Fixed bug with github plugin (string formatting was throwing exceptions) 2013-11-26 16:23:59 -06:00
Blake Bengtson df6ee28462 Fixed bug with reddit plugin. 2013-11-26 16:07:53 -06:00
Dabo Ross 99fe34a0b1 Format everything to pep8 guidelines 2013-11-12 18:49:29 +01:00
Luke Rogers cd4b65de3d Moved calculation to the wolframalpha plugin (the old google calculator plugin no longer works correctly, sorry!(=) 2013-11-11 10:01:45 +13:00
Luke Rogers b6d1620cec Merge pull request #172 from blha303/patch-15
soundc.py - Wow, how did that happen?
2013-11-10 12:53:55 -08:00
Luke Rogers 0a19fd9347 Merge pull request #177 from RobertClarke/patch-1
More flirts
2013-11-10 12:53:32 -08:00
Luke Rogers 3d739483de switch to integrated YQL code 2013-11-11 09:47:46 +13:00
Luke Rogers 12e2a445d7 fixed stock from skybot! 2013-11-11 09:13:15 +13:00
RobertClarke d58a8b5c65 More flirts 2013-11-09 19:29:00 -08:00
Steven Smith b6ce9b7e50 Wow, how did that happen? 2013-11-03 05:08:09 +08:00
Luke Rogers 12203d2580 -.- 2013-10-08 11:33:00 +13:00
Luke Rogers b5a2497b00 fix correction 2013-10-08 11:32:17 +13:00
Luke Rogers 853b4b7db8 helptext 2013-10-07 01:20:36 +13:00
Luke Rogers b05056ff28 Update utility.py 2013-10-07 01:12:12 +13:00
Luke Rogers ce0063f4aa Merge pull request #168 from blha303/patch-13
Fix github.py
2013-10-05 19:20:00 -07:00
Steven Smith 436dfc356c Dammit noodle 2013-10-05 21:11:52 +08:00
Nathan Blaney a42b8513c6 Better English in reverse 2013-10-05 22:59:07 +10:00
Nathan Blaney d83d82978e Added reverse to utility.py 2013-10-05 22:49:52 +10:00
Fletcher Boyd c308b7dcb5 Rainbow fix 2013-10-04 17:49:02 +08:00
Luke Rogers a6130ab780 Merge commit '47eae6255989055440b45cfe667c9a6f8a92ce27' into develop 2013-10-01 20:49:16 +13:00
Luke Rogers 42a72f068e More refactoring! Break everything! 2013-10-01 16:55:18 +13:00
Luke Rogers 72babfceb2 refactored me() to action() 2013-10-01 15:41:54 +13:00
Luke Rogers 47eae62559 Tidied code some more 2013-10-01 14:57:02 +13:00
Luke Rogers 46f571382c Comments 2013-10-01 13:38:00 +13:00
Luke Rogers 72dce244b4 anti-asshat 2013-10-01 13:18:41 +13:00
Luke Rogers 2ae2a8575a OTT encryption for silly secret messages 2013-10-01 12:17:08 +13:00
Luke Rogers b38c540bf3 Added prototype plugin 2013-10-01 11:54:09 +13:00
Luke Rogers 52f6260e1c fixed 2013-10-01 11:53:15 +13:00
Luke Rogers 651db7168f dfsdf 2013-10-01 11:42:36 +13:00
Luke Rogers dd50cb4a36 fixes 2013-10-01 11:40:04 +13:00
Luke Rogers 839871f636 Added RAINBOWS 2013-10-01 10:03:46 +13:00
Luke Rogers af9f024d63 no message 2013-10-01 04:08:13 +13:00
Luke Rogers d673f8d15c Added escape and unescape 2013-10-01 03:42:55 +13:00
Luke Rogers f8ad033f8e Added more text tools 2013-10-01 03:32:06 +13:00
Luke Rogers 52b14b367a Made new utility plugin with hash, length and other text formatting commands 2013-10-01 03:26:40 +13:00
Luke Rogers a16b1776f8 Added simple ROT13 command 2013-10-01 03:19:00 +13:00
Luke Rogers a45d470363 Added NSFW alert to reddit.py
\
2013-10-01 03:10:19 +13:00
Luke Rogers 9b92d73f3a reddit and imgur fixes 2013-10-01 03:06:53 +13:00
Luke Rogers 0abac29523 Added NSFW filter, and made command grab random images if no subreddit defined 2013-10-01 03:03:03 +13:00
Luke Rogers 3a142e4810 final tweaks 2013-10-01 02:37:00 +13:00
Luke Rogers 4f2c690b2d Added support for reading albums, other fixes 2013-10-01 02:33:20 +13:00
Luke Rogers a49bcc881c Add imgur prototype 2013-10-01 01:53:57 +13:00
Luke Rogers bfd600cf49 Revamped reddit plugin with search command, inspired by @blha303 :) 2013-10-01 00:38:12 +13:00
Steven Smith aea91cc33f aww plugin, retrieves random imgur link from /r/aww front page 2013-09-30 18:42:51 +08:00
Luke Rogers 7474904e97 I said how to fix them 2013-09-27 20:48:01 +12:00
Luke Rogers a5d5845faf Merge pull request #163 from thenoodle68/develop
Quote fix
2013-09-27 01:47:20 -07:00
Fletcher Boyd 92e61a5348 Remove broken double tuple 2013-09-27 11:57:52 +08:00
Steven Smith 764a74a3ea Fixed uploader name display for Youtube's new display names 2013-09-21 20:27:20 +08:00
Steven Smith 5867cb05c7 Update youtube.py 2013-09-21 20:24:39 +08:00
Steven Smith f5e4b67777 Fix youtube.py Uploader name to use display name instead of username 2013-09-21 20:18:08 +08:00
Luke Rogers d3e5099dab silly attempt to make calc plugin last longer before google totally breaks it
cookies are an attempt to make it less likely to realise cloudbot is a bot, and the IE user agent is to force it to use the legacy HTML we can actually parse
2013-09-19 10:58:22 +12:00
Luke Rogers dabf61a520 disabled broken plugin 2013-09-19 10:44:46 +12:00
Luke Rogers c0b3285c4a Fixed namegen
I need to redesign TextGenerator a bit, I kinda hacked it to do two things and it's not the most elegant.
2013-09-19 10:42:44 +12:00
Luke Rogers f98774032f Simplify code and change output string to unicode
I wish I had Python3, the whole unicode/normal string thing sucks.
2013-09-19 10:38:42 +12:00
Luke Rogers 45330ddfb4 MORE 2013-09-19 10:29:39 +12:00
Luke Rogers 348de62f17 I'm a fucking idiot 2013-09-18 15:44:04 +12:00
Luke Rogers 5b1258f544 Fix pls? 2013-09-16 13:37:47 +12:00
Luke Rogers 483226d2ad TextGenerator now supports a single string as a part 2013-09-16 13:26:51 +12:00
Luke Rogers d5163a846a Updated .kill to use TextGenerator! :) 2013-09-15 23:00:53 +12:00
Steven Smith a69c4eceb3 Update valvesounds.py 2013-09-13 17:45:13 +08:00
Steven Smith b460fb2fd2 Update valvesounds.py 2013-09-13 17:30:01 +08:00
Steven Smith e8947a603b Update valvesounds.py 2013-09-13 17:28:51 +08:00
Steven Smith ae258e6c37 Update valvesounds.py 2013-09-13 17:27:18 +08:00
Luke Rogers 59d615aa88 rename! 2013-09-13 21:18:45 +12:00
Steven Smith 1bba6262bc Updated site search function, fixing associated plugin 2013-09-13 17:17:15 +08:00
Luke Rogers d9f613f6f4 Update slaps.json 2013-09-13 10:32:09 +12:00
Luke Rogers cb7f9b736f fix? 2013-09-13 00:33:45 +12:00
CafogenMod ecab6076ea update restart command 2013-09-12 23:51:33 +12:00
Luke Rogers cbcf1dc4b5 more stuff @cybojenix 2013-09-12 23:05:15 +12:00
Luke Rogers 2be0c46b89 made slap use the new TextGenerator class 2013-09-12 22:46:43 +12:00
Luke Rogers 15e7825125 Moved generation logic out of namegen.py 2013-09-12 20:47:39 +12:00
Luke Rogers 8e545b3a31 Fixed namegen 2013-09-12 11:58:00 +12:00
Luke Rogers ea39a6fbb9 no 2013-09-12 00:12:50 +12:00
Luke Rogers 9a296d4076 karma update 2013-09-12 00:10:42 +12:00
Luke Rogers 2d06a1fc4a patched! 2013-09-11 22:59:13 +12:00
Luke Rogers 5c09ff6967 Ignore votes with spaces 2013-09-11 16:20:20 +12:00
Luke Rogers dde9b97223 tweaaks 2013-09-11 13:44:02 +12:00
Luke Rogers 931eb1f51a oops 2013-09-11 12:25:08 +12:00
Luke Rogers 10d235623c Removed debug line that was printing the time module
?_?
2013-09-11 11:02:06 +12:00
Luke Rogers 45ac28b6a6 added message when you try to vote on yourself @blha303 2013-09-11 10:58:33 +12:00
Luke Rogers a714354d69 Re-added old karma plugin, now with more features 2013-09-11 10:54:38 +12:00
Luke Rogers 4160015e61 xrange is correct in this case 2013-09-11 02:28:43 +12:00
Luke Rogers 273ca05858 Strip HTML from online status. @Red_M 2013-09-10 19:30:40 +12:00
Luke Rogers 92eca3844e reverted changes to seen.py for now, need to work out privacy stuff 2013-09-10 15:35:26 +12:00
Luke Rogers 27bd43b5ec Merge branch 'patch-1' of https://github.com/nathanblaney/CloudBot into nathanblaney-patch-1 2013-09-10 15:32:14 +12:00
Luke Rogers 79f06b034e Merge branch 'patch-6' of https://github.com/blha303/CloudBot into blha303-patch-6 2013-09-10 15:26:51 +12:00
Luke Rogers 83cb28283b More pythonic function name 2013-09-10 14:59:45 +12:00
Luke Rogers a8255723ba renamed p2sounds 2013-09-10 14:58:00 +12:00
Luke Rogers 06e78b7871 PEP-8 2013-09-10 14:53:25 +12:00
Luke Rogers b42aac00d5 if the user has no location/description, don't show it 2013-09-10 14:49:33 +12:00
Luke Rogers 2ef0579fe6 Merge pull request #155 from blha303/patch-8
p2sounds - Lyrics formatting
2013-09-09 18:30:27 -07:00
Luke Rogers a157a250be Yes Fletcher, there was a good reason 2013-09-10 13:29:38 +12:00
Luke Rogers 415740a399 resolve merge conflict 2013-09-10 12:02:24 +12:00
Luke Rogers 1f699c8f00 If data already exists for a user, return that and wait until after the command has finished to trigger an update 2013-09-10 12:00:29 +12:00
Steven Smith 4cd74ae3fd p2sounds - Lyrics formatting 2013-09-09 13:50:06 +08:00
Steven Smith 803ca5da9a Re-add portal2sounds plugin
Now with 100% less portal2sounds.com interaction!
2013-09-09 13:27:18 +08:00
Steven Smith 00368f59b0 Admin-only command to upload plugins to hastebin 2013-09-08 13:03:11 +08:00
Luke Rogers d3d36891e7 Merge pull request #150 from thenoodle68/develop
Small corrections.
2013-09-07 08:53:34 -07:00
Luke Rogers e644a0a0ca fml 2013-09-08 03:50:53 +12:00
Fletcher Boyd efee5072ad ily 2013-09-07 23:44:27 +08:00
Luke Rogers 143cd8dc96 bot restart needed. added support for timeouts to http.py, adjusted steam_calc timeout 2013-09-08 03:26:34 +12:00
Luke Rogers 909306cfbe add temporary workaround for missing user issue 2013-09-08 03:11:27 +12:00
Luke Rogers 8ebf1e24ee Those uppercase dict keys were annoying the hell out of me 2013-09-08 02:43:11 +12:00
Luke Rogers 63cf1f0514 few more comments 2013-09-08 02:37:47 +12:00
Luke Rogers b40b4640d8 Added brand new steam_calc.py plugin 2013-09-08 02:34:55 +12:00
Fletcher Boyd f8e6ec1e9c Merge remote-tracking branch 'upstream/develop' into util 2013-09-06 17:08:23 +08:00
Fletcher Boyd c2d021a07a better name. 2013-09-06 17:06:52 +08:00
Luke Rogers 54d6453aa4 denoodleification 2013-09-06 21:05:05 +12:00
Fletcher Boyd 893f621dd0 Added clear, updated err. 2013-09-06 16:10:48 +08:00
Fletcher Boyd d29b3c313f Fixing dict.update() 2013-09-06 15:40:08 +08:00
Fletcher Boyd 75d4af1393 ircformat.raw makes more sense with the addition of ircformat.err. 2013-09-06 15:10:39 +08:00
Fletcher Boyd 5f87bf0e76 Added base context styling. 2013-09-06 15:06:00 +08:00
Fletcher Boyd 2fb0f811b8 Docstring and typo fix. 2013-09-06 14:59:07 +08:00
Fletcher Boyd 07b5abff7b bb moved to more descriptive rep. 2013-09-06 14:57:26 +08:00
Fletcher Boyd 14530f07f1 Added text set. 2013-09-06 14:54:50 +08:00
Fletcher Boyd 2103c64dd5 Added multiple code sets. Future proofed code set adding. 2013-09-06 14:23:33 +08:00
Fletcher Boyd d9324eaf95 bbcode style formatting. 2013-09-06 14:12:21 +08:00
Luke Rogers 382b76ca26 Merge pull request #148 from thenoodle68/develop
Better help, fixed bitcoin, bones of better steam.
2013-09-05 20:59:00 -07:00
Fletcher Boyd d39e101f45 Help can return over two lines. 2013-09-06 11:51:01 +08:00
Fletcher Boyd 363d0ba6d9 I should check data more often. 2013-09-06 11:20:34 +08:00
Fletcher Boyd c08d3c2daf Merge remote-tracking branch 'upstream/develop' into develop 2013-09-06 11:12:21 +08:00
Steven Smith 3d4bd6a694 portal2sounds.com has banned Cloudbot's user agent. 2013-09-06 10:32:33 +08:00
Luke Rogers 8a83eb9b5b Removed references to a function in spotify.py that doesn't exist 2013-09-06 10:01:16 +12:00
Fletcher Boyd 20e96e1e07 Added (currently unused) method for retrieving steam data through steam. 2013-09-05 18:17:05 +08:00
Luke Rogers 1610c14c6f NOOOOODDDDLLLLLEEEEEE 2013-09-05 21:15:59 +12:00
Luke Rogers bc2612e9ae updating this monster 2013-09-05 20:50:41 +12:00
Luke Rogers 29ac513c2b I
'm OCD about formatting. 'nuff said
2013-09-05 20:24:13 +12:00
Luke Rogers 74fc62139c this might actually work 2013-09-05 20:19:35 +12:00
Luke Rogers f96a975b70 Merge pull request #146 from thenoodle68/develop
pullderp
2013-09-05 01:14:20 -07:00
Fletcher Boyd 8f789222b1 I'm a muppet. 2013-09-05 16:12:41 +08:00
Fletcher Boyd f12066df0a rdio api added to config. 2013-09-05 16:09:27 +08:00
Luke Rogers 49e306568d Thou shalt not bolden links 2013-09-05 20:08:25 +12:00
Luke Rogers b6e9b175db did some math to calcuate offset, now spellcheck only needs to update once :) 2013-09-05 18:31:33 +12:00
Luke Rogers 033dd8af12 please? 2013-09-05 18:21:27 +12:00
Nathan Blaney 114975d058 Added hypen support to tell
For example "~tell Mu5tank05-mc hello?"
2013-09-05 16:04:03 +10:00
Nathan Blaney 6b3b4fc562 Added support for checking in a set channel
For example "~seen WizardCM #minecraft"
2013-09-05 16:00:49 +10:00
Luke Rogers af2382aea5 test 2013-09-05 17:51:24 +12:00
Luke Rogers 1dbf309971 changed spellcheck.py to use SpellChecker() for sentences 2013-09-05 17:38:25 +12:00
Luke Rogers 9efedde734 denoodled seen, this should fix it all 2013-09-05 16:28:37 +12:00
Luke Rogers 8e121f5b5f wtf 2013-09-05 16:22:14 +12:00
Luke Rogers f788af8d55 Merge pull request #143 from thenoodle68/develop
Formatting and other things.
2013-09-04 21:10:38 -07:00
Fletcher Boyd 00e3fb2dc1 Merge remote-tracking branch 'upstream/develop' into develop 2013-09-05 12:04:47 +08:00
Luke Rogers d7ea20cd3b Fixed up user URL 2013-09-05 16:01:01 +12:00
Luke Rogers 5844d914de Merge branch 'develop' of https://github.com/ClouDev/CloudBot into develop 2013-09-05 15:54:54 +12:00
Luke Rogers 80dd3ad573 added open source report card plugin 2013-09-05 15:54:35 +12:00
Fletcher Boyd 5a586bb373 Merge remote-tracking branch 'upstream/develop' into develop 2013-09-05 10:42:03 +08:00
Fletcher Boyd 015dd93df3 last round of .format conversion for string formatting. 2013-09-05 10:36:25 +08:00
Fletcher Boyd 0aa2185ede more .format. 2013-09-05 10:11:18 +08:00
Fletcher Boyd 7ab4f756fe .format 2013-09-05 09:46:49 +08:00
Luke Rogers 6c4d7db976 Removed debug code 2013-09-05 13:16:08 +12:00
Luke Rogers 06546ffdd9 Merge pull request #142 from thenoodle68/develop
Fix cypher
2013-09-04 18:03:15 -07:00
Fletcher Boyd 2812569593 .format 2013-09-05 09:03:01 +08:00
Fletcher Boyd a211115b7e I'm sure there was a reason this was complicated. 2013-09-05 08:53:07 +08:00
Fletcher Boyd 8c60a923ba Rewrite 2013-09-05 08:42:40 +08:00
Luke Rogers 304a2bed00 Merge pull request #141 from thenoodle68/develop
Fixing typos.
2013-09-04 16:58:27 -07:00
Fletcher Boyd bc1062e8d6 Fixing typos. 2013-09-05 07:51:42 +08:00
Luke Rogers a92209119d Merge pull request #140 from thenoodle68/develop
Added option to authenticate as another nickserv user.  op.py changes.
2013-09-04 16:48:51 -07:00
Fletcher Boyd 5a8b2c2825 Corrected typo in unmute, added lock/unlock. 2013-09-05 07:45:34 +08:00
Fletcher Boyd b3c08a33da Added mode function for channel modes. Added mute/unmute. 2013-09-05 07:44:29 +08:00
Fletcher Boyd 73aef2e9ae Added option to authenticate as another nickserv user. 2013-09-05 07:28:47 +08:00
Luke Rogers 6247409906 moved strip_html from http to text 2013-09-05 11:00:04 +12:00
Luke Rogers 8b23ba9c12 Merge pull request #139 from thenoodle68/develop
Fix kicking with a reason in op.py
2013-09-04 15:33:39 -07:00
Luke Rogers 4460254f28 moved WA to try_isgd() 2013-09-05 10:33:03 +12:00
Fletcher Boyd 9eeebe1a9d Fix kicking with a reason in op.py 2013-09-05 06:30:58 +08:00
Luke Rogers e061427207 a few small tweaks to puush 2013-09-05 10:08:36 +12:00
Luke Rogers 0f488665aa wrapped a long line 2013-09-05 09:59:50 +12:00
Luke Rogers 059024cb61 removed test server from minecraft_status 2013-09-05 09:54:43 +12:00
Fletcher Boyd 4b4541dd99 things look better in threes. 2013-09-05 00:25:46 +08:00