mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-11 06:00:59 -05:00
Merge branch 'development' of https://github.com/deathbybandaid/SpiceBot into development
This commit is contained in:
commit
7dc5782969
18
sopel_modules/SpiceBot_AI/AI_Really.py
Normal file
18
sopel_modules/SpiceBot_AI/AI_Really.py
Normal 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)
|
||||
13
sopel_modules/SpiceBot_AI/AI_Welcomeback.py
Normal file
13
sopel_modules/SpiceBot_AI/AI_Welcomeback.py
Normal 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)
|
||||
@ -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'
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user