3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-01 00:19:29 +01:00
Commit Graph

47 Commits

Author SHA1 Message Date
reality
e831a7cfa5 /i 2015-02-04 18:52:35 +00:00
reality
a554b8d1cf fix all the module regexen 2013-12-29 18:38:24 +00:00
kabniel
e34b46d4e4 Update link.js
change title regex to be non-greedy
2013-08-21 19:24:04 +02:00
reality
99eb1462ad youtube debug output 2013-08-05 22:11:25 +00:00
reality
4ae10a2b26 link handlers callback result instead of event.reply it[Close #536] 2013-07-25 21:56:44 +00:00
reality
b77644d1d4 Fixes for config path in some place [#489] 2013-06-04 00:10:12 +00:00
reality
d5a4b288f7 udFallback option for quote retrieval [#477] 2013-05-27 17:16:23 +00:00
reality
818f6937ef string output for autoTitle 2013-05-21 17:48:31 +00:00
reality
1f426fa722 prefix for link [#462] 2013-05-21 17:45:58 +00:00
reality
d77565a04a fix link title 2013-05-20 15:24:24 +00:00
reality
1f1287554f ~syt command to get a spotify link from a youtube link 2013-05-20 15:05:00 +00:00
reality
d8342f4489 Actually fix [#335] 2013-04-12 22:38:00 +00:00
reality
0f298bd061 Fix for the Identica bit by allowing a name argument to be passed [#344] 2013-04-12 19:11:55 +00:00
reality
5d30261770 Create addHandler API for link module and have dent use it. Removed its own listener. [#344] 2013-04-12 19:03:01 +00:00
reality
e667d95ca8 Return correct head info is related result term is given by UD [Close #341] 2013-04-12 18:33:49 +00:00
reality
4a27036307 fix #335 by making req limit higher 2013-04-05 13:30:47 +03:00
reality
3c225defee stop telling people to fuck off 2013-03-26 18:43:55 +01:00
reality
e9b4a9f112 give reasonable size limit [#332] 2013-03-25 18:26:13 +00:00
reality
6176dd5695 fix crash on too big of a request [Close #332] 2013-03-25 18:23:35 +00:00
John Maguire
1ab10dcb04 adding trim to link titles to remove annoying whitespace 2013-03-18 21:50:10 -04:00
Thomas Menari
5a6f6ad39e entity decoding for link module 2013-03-09 17:02:33 +00:00
reality
57977ac182 dont bother with titles if they are too long 2013-02-20 10:28:47 +00:00
Luke Slater
3bfc82c7bc remove unnecessary else 2013-01-31 18:53:58 +01:00
reality
d7c193cbe9 couple of formatting fixes + fix indentation [Close #258] 2013-01-31 17:46:15 +00:00
Daniel Dowling
4b7c2092b0 Added check for params[1] to ~xkcd 2013-01-31 17:20:51 +00:00
Daniel Dowling
451b7ea4d0 Cleaned up link slightly. 2013-01-31 15:53:45 +00:00
Daniel Dowling
bf2cff6eba Cleaned up code based on feedback. 2013-01-31 15:41:16 +00:00
Daniel Dowling
c3e569be41 Update modules/link/link.js
Tab fix three: Revenge of the tabs
2013-01-30 17:31:06 +00:00
Daniel Dowling
5f0bcd7710 Update modules/link/link.js
Tab fix attempt 2
2013-01-30 17:28:34 +00:00
Daniel Dowling
8d3d5d08a5 Update modules/link/link.js
indent fix test
2013-01-30 17:23:53 +00:00
Daniel Dowling
bcdca5d002 updated xkcd random to use dbot api instead of function call. 2013-01-30 17:18:07 +00:00
Daniel Dowling
67d7abbf84 fixed xkcd random and updated readme for link 2013-01-30 16:50:54 +00:00
Daniel Dowling
73e9b21824 added random xkcd function using "*" as the param
Will get a random comic from http://dynamic.xkcd.com/random/comic/
Needs testing
2013-01-30 14:19:52 +00:00
Luke Slater
eb7a958352 Don't pork up if UD is down 2013-01-30 09:56:56 +01:00
Douglas Gardner
e3074d8054 implement xkcd functionality
The strings.json file is extensible; other fields that can be
placed in the xkcd string include the {year}, {month} and {day}
of the comic; the {alt} text; and links to the {img}.
A {transcript} is also available.
2013-01-30 01:37:28 +00:00
reality
2e8d25aea4 i am retard 2013-01-24 10:06:56 +00:00
reality
68f78cad9c ~ud regex and only use first response line [#197] 2013-01-24 10:05:50 +00:00
Douglas Gardner
29899adfc0 remove one-word restriction on ~ud
There's undoubtedly a better way to do this, but it works.
~ud now allows more than one word to be sent to UD's servers.
2013-01-23 19:01:52 +00:00
reality
fba8edef18 ~ud was surprisingly easy [#192] 2013-01-22 19:52:26 +00:00
reality
1bd1b5aa56 remove useless crap from modules [#136] 2013-01-15 16:54:51 +00:00
reality
b733564cb2 fixt link [#131] 2013-01-14 23:11:50 +00:00
reality
35e34874af link underscorised (easy) [#81] 2013-01-13 15:30:53 +00:00
Luke Slater
bbe6a540be Update modules/link/link.js
no title found shut up omg
2013-01-05 17:00:45 +01:00
reality
5e8495c3bb Remove repeated title fetching code in Link module 2012-12-30 17:36:52 +00:00
reality
5bf5b257f8 strings.json usage complete in link [#88] 2012-12-30 16:51:30 +00:00
reality
9b0cefe932 auto title option for link 2012-12-27 23:18:41 +00:00
Luke Slater
b2ea634d8c Move all the modules to their own directories 2012-12-11 16:04:52 +00:00