Commit graph

1025 commits

Author SHA1 Message Date
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
Fletcher Boyd d5a5237fb8 Formatting and updating docstring. 2013-09-04 23:50:57 +08:00
Fletcher Boyd 253ffaafda Added multiword support. 2013-09-04 23:48:56 +08:00
Fletcher Boyd 9d6aef731e Update docstring 2013-09-04 22:53:18 +08:00
Fletcher Boyd d58646628c Add random puu.sh fetcher. 2013-09-04 22:49:55 +08:00
Fletcher Boyd bc2362e6a6 Merge commit '1a3094242b9f1411963ee1e8003e833e9a27646a' into develop 2013-09-04 21:54:06 +08:00
Fletcher Boyd 33c6ee6f19 spaaace 2013-09-04 21:36:35 +08:00
Fletcher Boyd 706ddbfbe9 Shortened mcstatus output. 2013-09-04 21:31:07 +08:00
Luke Rogers 1a3094242b denoodled another plugin 2013-09-05 00:46:52 +12:00
Fletcher Boyd d6bdf3ab38 Possible fix for non alphanumeric characters, needs testing. 2013-09-04 20:13:45 +08:00
Fletcher Boyd 397842f518 More formatting. 2013-09-04 20:13:03 +08:00
Luke Rogers cc0231e849 Merge pull request #136 from thenoodle68/develop
This is what happens when you don't test things
2013-09-04 04:15:52 -07:00
Fletcher Boyd 7c6453be1e Fixed flawed logic in word construction. 2013-09-04 19:05:39 +08:00
Luke Rogers f85bc3e935 unborked 2013-09-04 22:59:58 +12:00
Fletcher Boyd 2457f6da00 So apparently you do need inp. 2013-09-04 18:56:58 +08:00
Luke Rogers 242ba0d18d Merge pull request #135 from thenoodle68/develop
Lots of formatting fixes!
2013-09-04 03:51:52 -07:00
Fletcher Boyd fa97d4659c Fixed formatting and removed unused imports. 2013-09-04 18:32:17 +08:00
Fletcher Boyd fb62640ccc Possibly broke, fixed formatting. 2013-09-04 18:31:46 +08:00
Fletcher Boyd b08bc570d1 Fixed formatting and changed string construction. 2013-09-04 18:30:48 +08:00
Fletcher Boyd 4069dd21a3 Fixed formatting. 2013-09-04 18:30:04 +08:00
Luke Rogers 3c0ba0bdd2 added isup 2013-09-04 21:28:10 +12:00
Luke Rogers 5e161486ff unstandardised that one bit 2013-09-04 20:30:26 +12:00
Luke Rogers 13d284a861 standarised format of drama.py to match other plugins 2013-09-04 20:27:46 +12:00
Luke Rogers 8769b97dc0 made qr.py use the google API directly, also did a neat thing with a dictionary 2013-09-04 20:14:14 +12:00
Luke Rogers 488d00e758 slight tweak to URL fetching in stock.py 2013-09-04 20:00:52 +12:00
Luke Rogers 543a1cd4d7 added alternate truncate method 2013-09-04 19:52:38 +12:00
Luke Rogers 6de14f33e3 Google translate is back, but you need a paid API key 2013-09-04 19:42:08 +12:00
Luke Rogers 94b6026b3f Merge pull request #131 from blha303/patch-1
Fix stock.py, add company searching
2013-09-03 04:44:21 -07:00
Steven Smith bc0eb32d9b Hulu command help 2013-09-03 19:41:53 +08:00
Steven Smith 4fb4e3c1fb Create hulu.py 2013-09-03 19:39:02 +08:00
Steven Smith 4129d2d889 Fix stock.py, add company searching 2013-09-03 17:37:03 +08:00
Daniel Barnes 0e6e744605 Make <url> a Factoid post-processor. This allows us to use text-web-api-things that are sightly more dynamic 2013-09-02 21:19:47 -06:00
Luke Rogers 2089a53c50 Merge pull request #121 from blha303/patch-8
Add catch for git.io assigning the same ID twice, provide alternative custom url
2013-09-02 16:19:24 -07:00
Luke Rogers b499c3848e Merge pull request #125 from TheFiZi/patch-3
Added handling of exponents
2013-09-02 16:18:59 -07:00
Luke Rogers 201589e7ec Merge pull request #126 from nasonfish/patch-1
Added a plugin to use domai.nr's API
2013-09-02 16:18:48 -07:00
Luke Rogers 2793fe4895 Merge pull request #128 from blha303/patch-10
Lyrics and portal2sounds.com/tf2sounds.com searching
2013-09-02 16:18:28 -07:00
Steven Smith 28c449bde5 Create valvesounds.py 2013-09-03 07:13:35 +08:00
Steven Smith 81d7ce08c3 Create lyrics.py 2013-09-03 07:12:38 +08:00
Steven Smith 5d89f4d598 My logic is really terrible
views = views + "s" if *not* views == 1, you idiot.
2013-09-03 03:22:34 +08:00
Steven Smith 3573bac4a9 Far less page scraping, far more API.
There's API for highlights and channels, so I need to find an information API for broadcasts next.
2013-09-03 03:00:55 +08:00
Daniel Barnes 81b37c09ed Added a plugin to use domai.nr's API 2013-09-01 23:00:40 -06:00
Eric 4647e767da Added handling of exponents
Slightly better than my last suggestion. Why doesn't git let you edit existing pull requests??
2013-08-31 11:18:38 -07:00
Steven Smith 4bf05b36c9 Add catch for git.io assigning the same ID twice, provide alternative custom url
![What the hell, git.io](http://i.imgur.com/oED3qPD.png)
2013-08-29 20:48:22 +08:00
Steven Smith b2b5270686 Return vimeo.py to where it was before, but with better duration and comma-grouped likes and plays 2013-08-24 17:23:15 +08:00
Steven Smith 86be633213 Update timeformat.py 2013-08-24 17:15:54 +08:00
Steven Smith 53d49a78f1 Update timeformat.py 2013-08-24 17:11:21 +08:00
Steven Smith 15b2b259df Create timeformat.py 2013-08-24 16:45:05 +08:00
Steven Smith 9356e4e9ca Fix duration, add new function for timestamp formatting 2013-08-24 16:44:22 +08:00
CafogenMod 9c9ce943a9 fetch the latest kernel info 2013-08-22 17:41:28 +04:00
Luke Rogers aded5c0aff Merge pull request #117 from blha303/patch-6
Oops. (github.py)
2013-08-19 21:02:50 -07:00
Luke Rogers cb664117d5 Merge pull request #116 from blha303/patch-5
Create util/color.py
2013-08-19 21:02:43 -07:00
Luke Rogers c05b6b25c2 please, work? 2013-08-20 10:55:58 +12:00
Steven Smith ee8e2cb5e7 Oops. 2013-08-19 18:21:46 +08:00
Steven Smith 88beb69f1a Create util/color.py 2013-08-19 17:51:57 +08:00
Steven Smith 23e75115d2 steam.py - Fix page scraping, use markdown instead, PLUGIN IS NO LONGER BROKEN! 2013-08-14 16:20:24 +08:00
Luke Rogers 48b52ac872 played with steam a bit 2013-08-14 20:00:17 +12:00
Steven Smith 7818049e23 Add support for ACTION
Before and after: http://with-you.pw/6I4Z
2013-08-13 11:31:51 +08:00
Steven Smith a049b13927 Update correction.py 2013-08-12 09:50:20 +08:00
Luke Rogers 8c01183cfc imported web 2013-08-11 19:57:16 +12:00
Luke Rogers 807a2b43fd Update correction.py 2013-08-11 11:47:54 +12:00
Cybo Jenix 05b90ea82c add in option to correct other people's mistakes 2013-08-10 19:52:43 +01:00
cybojenix 17c29feb60 add in cleverbot 2013-08-09 23:53:54 +01:00
cybojenix a8349814a0 add in remove command 2013-08-09 23:23:16 +01:00
cybojenix 3204d15bde correction: update to use the seen_user db 2013-08-07 15:53:21 +01:00
cybojenix d3429f3297 implement a sed style correction method 2013-08-07 14:29:51 +01:00
Nathan Blaney 52e170020e Language Fix in op.py
Instead of "Attempting to Cyprezz quiet in #cloudbot..." it will be
"Attempting to quiet Cyprezz in #cloudbot..."
2013-08-06 20:31:06 +10:00
Luke Rogers 5d94ed4387 Changed yahooanswers.py to use try_isgd 2013-08-06 11:13:50 +12:00
Luke Rogers 350991ec1f Merge pull request #103 from cybojenix/patch-4
admins: permissions: fix messy output
2013-08-05 15:59:42 -07:00
Luke Rogers 38a9eda09a Updated the op.py plugin 2013-08-06 10:56:44 +12:00
Cybo Jenix 9e8bbbdcbf admins: permissions: fix messy output 2013-08-05 23:40:59 +01:00
Luke Rogers c88d8ff1b6 Merge branch 'develop' of https://github.com/ClouDev/CloudBot into develop 2013-08-06 10:17:36 +12:00
Luke Rogers 1d74e455a2 Added memory to horoscope, removed debug text (closes #101) 2013-08-06 10:17:00 +12:00
cybojenix a3844480a1 implement tools for editing users with permissions via irc for the new permissions system 2013-08-05 23:06:05 +01:00
Luke Rogers 132ad104ed Tweaked lart to remove some more confusing stuff 2013-08-06 09:54:34 +12:00
Luke Rogers 66fd6ca1d5 Merge pull request #100 from Mu5tank05/patch-2
Create QR code plugin
2013-08-05 03:59:35 -07:00
Nathan Blaney 41fe6723fc Updated to use proper shorten 2013-08-05 20:56:46 +10:00
Nathan Blaney a02761bbd4 OK then 2013-08-05 20:49:50 +10:00
Nathan Blaney aa80de0bb4 Updated to new web.py 2013-08-05 20:30:58 +10:00
Steven Smith fd9689e5ce Add snd.sc url catcher, change return contents for invalid urls, move soundcloud lookup into another function 2013-08-05 18:02:15 +08:00
Nathan Blaney 0160d86a64 Create QR code plugin 2013-08-05 19:32:53 +10:00
Luke Rogers 4d74493610 Fixed adminonly 2013-08-05 11:16:06 +12:00
Sepero 6bd692f34a Fixed bug- Not recognizing hyphens 2013-08-04 16:27:00 -04:00
Luke Rogers ba6c2ae2c8 I forgot this! 2013-08-04 20:16:14 +12:00
Luke Rogers adaab18192 Added more items. 2013-08-04 20:15:37 +12:00
Nathan Blaney 383fe71b4d Update op.py to new perms system 2013-08-04 14:22:38 +10:00
Steven Smith 9c95dd6590 Update spotify.py 2013-08-03 17:27:02 +08:00
Steven Smith 50c2825ea7 Update steam.py 2013-08-03 11:18:35 +08:00
Luke Rogers 58a857380d Made fact.py use web.try_isgd() 2013-08-02 12:30:16 +12:00
Luke Rogers fb2b5fc26e Some minor tweaks 2013-08-02 12:05:44 +12:00
Luke Rogers e574a0d41e Removed debug code 2013-08-02 11:53:05 +12:00
Luke Rogers e281bbd62b Changed the permissions config format again! (this might happen a few times, sorry) 2013-08-02 11:52:01 +12:00
Luke Rogers 205294dea7 Actually, totally remove the admin checks from help.py until I can figure out how to make this work well with the new permissions system 2013-08-02 00:26:31 +12:00
Mike Leigh 2a3c0e1723 Update help.py
The new permissions have broken the help.  This patch corrects the help behaviour.

To replicate send .help and you should get the following error:
Unhandled exception in thread started by <function run at 0x7fe5e63018c0>
Traceback (most recent call last):                                       
  File "core/main.py", line 63, in run                                   
    out = func(input.inp, **kw)                                          
  File "plugins/help.py", line 16, in help                               
    input.nick in bot.config["admins"] or\                               
KeyError: 'admins'

With this patch the help responds as expected.
2013-08-01 13:21:11 +01:00
Luke Rogers 272ba283e9 Added the neat Horoscope plugin by @infinitylabs from infinitylabs/UguuBot 2013-08-02 00:16:16 +12:00
Luke Rogers e764890636 Removed old code, fixes #90 (I hope) 2013-08-02 00:04:41 +12:00