mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-11 14:10:58 -05:00
14 lines
339 B
Python
14 lines
339 B
Python
# coding=utf-8
|
|
|
|
from __future__ import unicode_literals, absolute_import, division, print_function
|
|
|
|
import sopel.module
|
|
|
|
import spicemanip
|
|
|
|
|
|
@sopel.module.rule(r'(?i)(welcome back),? $nickname\?')
|
|
def bot_command_really(bot, trigger):
|
|
reply = spicemanip.main(['Thank you', 'thanks'], "random")
|
|
bot.osd(trigger.nick + ", " + reply)
|