1stvamp / hippybot

Hipchat.com bot written in Python with a simple plugin API
Other
95 stars 42 forks source link

global_commands and command_aliases not functioning #9

Closed ghost closed 11 years ago

ghost commented 11 years ago

using the example plugin as follows:

hello_world.py

from hippybot.decorators import botcmd, directcmd

class Plugin(object): global_commands = ['hello_world'] command_aliases = {'hi!' : 'hello'}

@botcmd
def hello_world(self, mess, args):
    return u'Hello world!'

@directcmd
def hello(self, mess, args):
    return u'Well hello there..'

I'm inclined to believe an update to jabber has recently broken this functionality, but I can't be sure.

1stvamp commented 11 years ago

Hi, seems Github's new subscription model has unsubscribed me from new issues on hb so I missed this, I'll take a look this week when I get a chance.

1stvamp commented 11 years ago

It looks like this is no longer an issue with the newest builds.