Merge branch 'development' of https://github.com/deathbybandaid/SpiceBot into development

This commit is contained in:
deathbybandaid 2019-05-16 13:52:32 -04:00
commit 7dc5782969
4 changed files with 34 additions and 1 deletions

View File

@ -0,0 +1,18 @@
# coding=utf-8
from __future__ import unicode_literals, absolute_import, division, print_function
import sopel.module
import spicemanip
@sopel.module.rule(r'(?i)(really),? $nickname\?')
def bot_command_really(bot, trigger):
really = spicemanip.main(["Yes, really.", "Really really"], "random")
bot.reply(really)
@sopel.module.rule('$nickname really\?')
def bot_command_really_b(bot, trigger):
bot_command_really(bot, trigger)

View File

@ -0,0 +1,13 @@
# 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.reply(reply)

View File

@ -10,6 +10,8 @@ from .AI_Lazy import *
from .AI_InsultHandler import *
from .AI_Ping import *
from .AI_Love import *
from .AI_Really import *
from .AI_Welcomeback import *
__author__ = 'Sam Zick'
__email__ = 'sam@deathbybandaid.net'

View File

@ -1,5 +1,5 @@
#!/usr/bin/env python
#coding=utf-8
# coding=utf-8
from __future__ import unicode_literals, absolute_import, print_function, division
# sopel imports