Closed Bigorneau closed 9 years ago
A description is never enough. I had to read the code to understand it's an interface for the urban dictionary.
@MoOx I don't understand your comment. There is a description in the PR and we never have a descriptive comment in other listeners
Instead of participating to this deprecated project, we should put our effort on https://github.com/putaindebot/core
Yes, but, well, err… This one works?
Sadly yes.
It works great with one channel. So the main issue right now is the multichannel. @bloodyowl (which make the entire core and current plugins) has not handled multi channel for the new bot core (based on stream). It's probably not an easy things to do. Not sure, and for my concern, I don't want to take some time for that right now.
I do not know if it does work great on one channel, sometimes it does not respond or reply at all. And i tried to work on the several channels feature, but the code designed by @bloodyowl is not designed to use native features of the irc module, so i do not get how he wants to get it done.
We should discuss about that here https://github.com/putaindebot/core/issues/5
Add an Urban Dictionary listener. Using the JSON API it returns the first and best rated result with an example. Line breaks in results are substituted with spaces.
result sample: url:
http://api.urbandictionary.com/v0/define?term=javascript%20programming