Commit Graph

2968 Commits

Author SHA1 Message Date
Luke Slater
09f8f525e6
time is literally the stupidest thing there is 2018-06-06 23:20:39 +01:00
reality
d64375ca50 sasl hint 2018-05-28 14:35:11 +00:00
reality
a4697e8d36 Merge branch 'master' of https://github.com/reality/dbot 2018-05-20 21:46:26 +00:00
reality
a97bda3c20 HA 2018-05-20 21:46:19 +00:00
Luke Slater
ab6cb80ea2
Merge pull request #677 from Scritches/master
'kick' and 'kill_namespam' module changes
2018-05-16 10:34:38 +01:00
Scritches
c26be5410f
Merge branch 'master' into master 2018-05-15 20:12:40 -04:00
Scritches
e11abe5af4 kills are deferred until user joins a non-exempt channel 2018-05-15 20:09:43 -04:00
Luke Slater
6a255244df
fix save callback lack (lol) 2018-05-12 18:56:14 +01:00
Scritches
f3dcc0e693 ~nban no longer adds redundant +b if user was killed 2018-05-05 13:45:54 -04:00
Scritches
ed69582c7a 4-indent to 2-indent 2018-05-05 13:35:49 -04:00
Luke Slater
814a84ee8e
Merge pull request #676 from Scritches/master
Various module fixes / improvements
2018-05-05 16:34:04 +01:00
Scritches
a5f9998872 Added ~sp as alias to ~spotify 2018-05-01 16:58:52 -04:00
Scritches
d544dcf017 clikill spares SASL-authenticated users from match kills 2018-05-01 16:47:25 -04:00
Scritches
bbfc4c18a6 xkcd title / relevent text search feature done right. 2018-04-26 19:12:20 -04:00
Scritches
0c8c377b08 ~xkcd command now finds relevant XKCDs when given text instead of a number 2018-04-26 17:14:18 -04:00
Scritches
c298813b28 Adds OMDB module to replace the RottenTomatoes module.
~movie command replaces ~rt command. API key from http://www.omdbapi.com/apikey.aspx
2018-04-26 16:58:15 -04:00
Scritches
0f0877f27a Fixed YouTube video duration reporting 2018-04-26 16:50:21 -04:00
reality
554a9e995b do not fail broken regex 2018-04-20 21:01:11 +00:00
Luke Slater
ae989d60ae
Merge pull request #675 from Scritches/master
Adds a module that queries the Online Encyclopedia of Integer Sequences
2018-04-19 21:50:58 +01:00
Scritches
f7b83e98b7 support for random sequences 2018-04-18 00:50:22 -04:00
Scritches
b415ee086f Add OEIS module
## Queries the **Online Encyclopedia of Integer Sequences** for interesting number sequences.

#### Sequence by example:
```
~sequence 1 2 3 4 5
```

#### Sequence by ID number
```
~sequence a27
```

#### Sequence by keywords
```
~sequence positive integers
```

In all cases the following is returned:
```
[oeis] A000027: "The positive integers." - (1, 2, 3, 4, 5, 6, 7, 8, ...) https://oeis.org/A000027
```
2018-04-18 00:26:05 -04:00
Luke Slater
944827c4d9
Merge pull request #674 from Scritches/master
Bunch of little fixes and style updates
2018-04-14 20:14:57 +01:00
Scritches
97642f35a9 Got rid of all the const
But muh self-documenting code :'(
2018-04-14 15:07:26 -04:00
Scritches
2d20f19572 Fix for lingering votequiets 2018-04-14 14:54:23 -04:00
Luke Slater
98c8894f95
Merge pull request #673 from Scritches/master
Initial rewrite of goodreads module using async/await
2018-04-14 19:51:57 +01:00
Scritches
11a7f1d20e Fix ~lastfm registered date display 2018-04-14 14:01:36 -04:00
Scritches
86d0a6f31b Link module title regexp fix
Fix for sites that use <\/title> instead of </title> to close their title elements.
2018-04-14 13:38:28 -04:00
Scritches
71c2c52d47 Initial rewrite of goodreads module using async/await
Covers original functionality plus adds a new ~reading command.

There is probably a lot of duplication in the module itself that can be cleaned up with some additional metaprogramming but *eh* I'm tired tonight.
2018-04-12 01:11:15 -04:00
Luke Slater
fbc4ac5afe
Merge pull request #672 from Scritches/master
Some more music module fixes
2018-04-11 14:46:23 +01:00
Scritches
a574b7d2ed more reasonable ~define
Tell wordnik to use the canonical version of the word where available (to avoid responses like "the plural of 'cat'" when doing "~define cats" - just tell me what cats are dammit)
2018-04-10 16:06:38 -04:00
Scritches
93ee3cb08b lastfm and spotify fixes
### lastfm module

removed ~taste and taste compare functions from lastfm - their API no longer supports these calls

Improved error reporting for ~suggestion and also parallelized the youtube/spotify queries

### spotify module

removed link matching - the Link module provides the exact same information as directly querying spotify so there's no real point
2018-04-10 15:35:57 -04:00
Scritches
597171c37d set last link in channel when ~yt command is used 2018-04-10 13:30:20 -04:00
Luke Slater
8182980420
Merge pull request #671 from Scritches/master
Words module api support for phrases
2018-03-30 17:24:30 +01:00
Scritches
bb28cebde1 Words module api support for phrases
~define, ~example, and ~like now all support phrases.
2018-03-30 12:22:03 -04:00
Luke Slater
48728c5801
Merge pull request #670 from Scritches/master
New minify module
2018-03-28 21:52:55 +01:00
Scritches
43cfe3b637 Minify module
basic framework for more human-readable error responses from the bitly minifier
2018-03-26 16:23:03 -04:00
Scritches
19cc4c474d New minify module
Added a module that provides URL minifier support for dbot.

Updated spotify and lastfm modules with support for url minimization via the include 'bitly' minimizer (which minimizes spotify.com links to spoti.fi - very nice)
2018-03-26 13:52:06 -04:00
Luke Slater
f5c9a275a9
Merge pull request #669 from Scritches/master
Bunch of spotify, youtube, and lastfm improvements
2018-03-25 03:28:22 +01:00
Scritches
ff7be1f31d https instead of http for ~listening youtube link 2018-03-24 22:10:57 -04:00
Scritches
0118f962b6 Include spotify desktop URI in ~syt results 2018-03-24 21:11:46 -04:00
Scritches
167525b5b9 Added ~ytpl command to search youtube for playlists 2018-03-24 20:57:57 -04:00
Scritches
25d572e8cb lastfm ~listening: make youtube and spotify api calls in parallel 2018-03-24 19:24:57 -04:00
Scritches
72a4552742 Revert "test"
This reverts commit bd148915ed.
2018-03-24 17:22:22 -04:00
Scritches
bd148915ed test 2018-03-24 17:21:26 -04:00
Scritches
354c0935b9 Move spotify api key into config; Restore spotify functionality to lastfm module ~listening command 2018-03-24 16:20:33 -04:00
Luke Slater
4a4e41b702
Merge pull request #668 from Scritches/master
Added padding around the urls in the output
2018-03-24 01:42:18 +00:00
Scritches
b87175e665 Added padding around the urls in the output 2018-03-23 21:37:43 -04:00
Luke Slater
9a7e1ab4bf
Merge pull request #666 from Scritches/master
fixed tabs/spaces and added spotify uri for desktop app linkability
2018-03-22 11:03:55 +00:00
Scritches
10c642c94f fixed tabs/spaces and added spotify uri for desktop app linkability 2018-03-22 03:04:14 -04:00
Luke Slater
dde0200032
Merge pull request #665 from Scritches/master
Added support for the minified youtube links returned by the ~yt command to the ~syt command
2018-03-08 21:25:03 +00:00