botbotme / botbot-plugins Goto Github PK
View Code? Open in Web Editor NEWExternal plugins for BotBot.me
Home Page: https://lincolnloop.com/blog/saying-goodbye-botbotme/
License: BSD 3-Clause "New" or "Revised" License
External plugins for BotBot.me
Home Page: https://lincolnloop.com/blog/saying-goodbye-botbotme/
License: BSD 3-Clause "New" or "Revised" License
Something like:
[0__0] weather in 28079
[0__0] The weather in <city> is 89ºF (31ºC) with rain in the forecast today.
http://openweathermap.org/ Might be a good source of the data since the api is free.
in #lincolnloop-internal
[12:36:53] [o__o]: help github
[12:36:53] <[o__o]> Github issue lookup
[12:36:54] <[o__o]> More details: https://botbot.me/private/-abMJCpTQq/help/#github
Gives 404 even after authenticating
MIT?
Although multiple issues can be referenced by comma-separating them (e.g. Have you seen gh123,456?
), splitting them in a message ignores any after the first (e.g. Have you seen gh123 and gh456?
), which is a more common practice.
The problem is
, which only looks for one occurrence.Saw this in the error logs:
File "/srv/virtualenvs/botbot_env/src/botbotme-plugins/botbotme_plugins/plugins/images.py", line 66, in image_me
images = response.json()['responseData']['results']
TypeError: 'NoneType' object has no attribute '__getitem__'
See https://botbot.me/freenode/loot/msg/28235231/
I would suggest the form @listens_to_all(ur'(?:.*)(?:GH|gh):(?P<org>[\w\-\_]+)/(?P<repo>[\w\-\_]+)#?(?P<issues>\d+(?:,\d+)*)(?:.*)')
, e.g., gh:BotBotMe/botbot-plugins#21
.
https://botbot.me/freenode/kivy/msg/2378693/
We should check that the trigger (in this case, Gh1
) is surrounded by whitespace or is at the start or end of the line.
It's a pain in the ass to type in the config on the repl every time you reload. There should be an easier way to load up plugin configurations for the repl. Environment variables maybe?
It's deprecated and we seem to be hitting rate limits https://developers.google.com/image-search/
There's a new search API from Google, but limited to 100 queries per day. Bing has one as well (5k/month)
When I accidentally type !M instead of !m, it'd be cute if [o__o] shouted in turn:
whit537: !M people
[o__o]: YOU'RE DOING GOOD WORK, PEOPLE!!!!!
When using the GitHub plugin, if you create an issue and change its title to gh#ISSUE_ID
, and then ask for it on your IRC channel, BotBot will trigger itself until it hits the GitHub API limit.
I'm thinking we should have a test module for every plugin, eg: botbotme_plugins/tests/github.py
and a simple command like runtests.py
that will go through the test suite.
The output of the bot is parsed too, which causes an infinite recursion loop.
Please feel free to close this as invalid if this is already the case.
From looking at the kudos source it looks like it focus on thanks thks and danke substrings it would be nice to have good work, <nick>
counting as kudos as well since !m is one of the default plugins.
When I tell botbot to remember something but i forget what memories are available, it would be nice to view the list. with [o__o] brain list or something, then he could spit out a link to that channels list of memories :D
Requiring username/password is bad form. That's what OAuth is for http://developer.github.com/v3/oauth/
https://botbot.me/freenode/gittip/msg/2268643/
whit537: gh h
[o__o]: Sorry I couldn't find issue # in gittip/www.gittip.com
via @hamiltont at BotBotMe/botbot-bot#30
I don't see an issue for this, so here's one in case it's just never been brought up.
Currently this is the URL format:
$ gh#1129
$ Objectify FrameworkTest Types: https://github.com/TechEmpower/FrameworkBenchmarks/pull/1129
I'd lvoe to see this instead
$ gh#1129
$ Objectify FrameworkTest Types: http://git.io/7P6RkA
This is what Travis-CI does for their IRC notifications and IMO it's much cleaner. It's also a relatively trusted URL - I think git.io will only shorten URLs to github
The #plyer channel wasn't being logged correctly until I changed its channel name from #Plyer to #plyer.
The capital P was the problem. Not sure if this needs to go on the Django side or the plugins side, but I would think the plugins shouldn't care. Bot connects OK, but logs just don't work.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.