Skip to content

Commit

Permalink
[coretasks] Use @commands rather than @command
Browse files Browse the repository at this point in the history
  • Loading branch information
embolalia committed Jun 24, 2013
1 parent 451bb52 commit d0dda11
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions willie/coretasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def startup(bot, trigger):
#Functions to maintain a list of chanops in all of willie's channels.


@willie.module.command('newoplist')
@willie.module.commands('newoplist')
def refresh_list(bot, trigger):
''' If you need to use this, then it means you found a bug '''
if trigger.admin:
Expand All @@ -59,7 +59,7 @@ def refresh_list(bot, trigger):
bot.write(('NAMES', trigger.sender))


@willie.module.command('listops')
@willie.module.commands('listops')
def list_ops(bot, trigger):
"""
List channel operators in the given channel, or current channel if none is
Expand All @@ -78,7 +78,7 @@ def list_ops(bot, trigger):
bot.say('None')


@willie.module.command('listvoices')
@willie.module.commands('listvoices')
def list_voices(bot, trigger):
"""
List users with voice in the given channel, or current channel if none is
Expand Down Expand Up @@ -230,7 +230,7 @@ def track_join(bot, trigger):
#Live blocklist editing


@willie.module.command('blocks')
@willie.module.commands('blocks')
@willie.module.priority('low')
@willie.module.thread(False)
def blocks(bot, trigger):
Expand Down

0 comments on commit d0dda11

Please sign in to comment.