mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-11 14:10:58 -05:00
17 lines
495 B
Python
17 lines
495 B
Python
# coding=utf8
|
|
from __future__ import unicode_literals, absolute_import, division, print_function
|
|
"""
|
|
This is the SpiceBot Users system.
|
|
"""
|
|
import sopel
|
|
|
|
import sopel_modules.SpiceBot as SpiceBot
|
|
from sopel_modules.spicemanip import spicemanip
|
|
|
|
|
|
@SpiceBot.prerun('nickname')
|
|
@sopel.module.nickname_commands('todo')
|
|
def nickname_comand_users(bot, trigger, botcom):
|
|
todo_task = spicemanip(SpiceBot.commands.todo_list, 'random')
|
|
bot.osd(["Random TODO task for you: {}.".format(todo_task)])
|