GithubHelp home page GithubHelp logo

botbotme / botbot-plugins Goto Github PK

View Code? Open in Web Editor NEW
33.0 33.0 21.0 71 KB

External plugins for BotBot.me

Home Page: https://lincolnloop.com/blog/saying-goodbye-botbotme/

License: BSD 3-Clause "New" or "Revised" License

Python 100.00%

botbot-plugins's People

Contributors

chadwhitacre avatar gaker avatar huonw avatar ipmb avatar nicolaslara avatar unbracketed avatar yml avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

botbot-plugins's Issues

Documentation

  • Creating a new plugin
  • Handling plugin configuration

Weather plugin

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.

Handle unexpected responses on images plugin

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__'

Easier config handling for repl

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?

!M should shout

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!!!!!

GitHub plugin can cause recursion

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.

Test suite

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.

!m should compute in the kudos score

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.

Brain should list memories or link to a list of memories

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

Short GitHub URLS

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

BotBot doesn't log if channel name casing is off

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.