mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-12 06:29:54 -05:00
goodbye
This commit is contained in:
parent
56d44bd015
commit
28f9015411
@ -1,15 +0,0 @@
|
||||
# coding=utf-8
|
||||
|
||||
from __future__ import unicode_literals, absolute_import, division, print_function
|
||||
|
||||
import sopel.module
|
||||
|
||||
|
||||
@sopel.module.rule('$nickname!')
|
||||
def exclaim(bot, trigger):
|
||||
bot.osd(trigger.nick + '!')
|
||||
|
||||
|
||||
@sopel.module.rule('$nickname\?')
|
||||
def imhere(bot, trigger):
|
||||
bot.osd("I'm here, " + trigger.nick)
|
||||
@ -1,10 +0,0 @@
|
||||
# coding=utf-8
|
||||
|
||||
from __future__ import unicode_literals, absolute_import, division, print_function
|
||||
|
||||
import sopel.module
|
||||
|
||||
|
||||
@sopel.module.nickname_commands('gender')
|
||||
def bot_command_gender(bot, trigger):
|
||||
bot.osd("If societal genders are binary, my gender is female")
|
||||
@ -1,15 +0,0 @@
|
||||
# coding=utf-8
|
||||
|
||||
from __future__ import unicode_literals, absolute_import, division, print_function
|
||||
|
||||
import sopel.module
|
||||
|
||||
|
||||
@sopel.module.rule(r'(?i)(ping),? $nickname[ \t]*$')
|
||||
def bot_command_ping(bot, trigger):
|
||||
bot.osd("Pong")
|
||||
|
||||
|
||||
@sopel.module.nickname_commands('ping')
|
||||
def bot_command_ping_b(bot, trigger):
|
||||
bot_command_ping(bot, trigger)
|
||||
@ -6,14 +6,11 @@ from .AI_aiml import *
|
||||
from .AI_Hello import *
|
||||
from .AI_Goodbye import *
|
||||
from .AI_Thanks import *
|
||||
#from .AI_Acknowledge import *
|
||||
from .AI_Lazy import *
|
||||
from .AI_InsultHandler import *
|
||||
from .AI_Ping import *
|
||||
from .AI_Love import *
|
||||
from .AI_Really import *
|
||||
from .AI_Welcomeback import *
|
||||
# from .AI_Gender import *
|
||||
|
||||
__author__ = 'Sam Zick'
|
||||
__email__ = 'sam@deathbybandaid.net'
|
||||
|
||||
56
sopel_modules/SpiceBot_Configs/aiml/nickname_goodbye.aiml
Normal file
56
sopel_modules/SpiceBot_Configs/aiml/nickname_goodbye.aiml
Normal file
@ -0,0 +1,56 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<aiml version="1.0">
|
||||
|
||||
<category>
|
||||
<pattern>BOTNICK BYE</pattern>
|
||||
<template>
|
||||
<random>
|
||||
<li>bye, triggernick</li>
|
||||
<li>goodbye, triggernick</li>
|
||||
<li>seeya, triggernick</li>
|
||||
<li>cya, triggernick</li>
|
||||
<li>ttyl, triggernick</li>
|
||||
</random>
|
||||
</template>
|
||||
</category>
|
||||
|
||||
<category>
|
||||
<pattern>BOTNICK GOODBYE</pattern>
|
||||
<template>
|
||||
<random>
|
||||
<li>bye, triggernick</li>
|
||||
<li>goodbye, triggernick</li>
|
||||
<li>seeya, triggernick</li>
|
||||
<li>cya, triggernick</li>
|
||||
<li>ttyl, triggernick</li>
|
||||
</random>
|
||||
</template>
|
||||
</category>
|
||||
|
||||
<category>
|
||||
<pattern>BYE BOTNICK</pattern>
|
||||
<template>
|
||||
<random>
|
||||
<li>bye, triggernick</li>
|
||||
<li>goodbye, triggernick</li>
|
||||
<li>seeya, triggernick</li>
|
||||
<li>cya, triggernick</li>
|
||||
<li>ttyl, triggernick</li>
|
||||
</random>
|
||||
</template>
|
||||
</category>
|
||||
|
||||
<category>
|
||||
<pattern>GOODBYE BOTNICK</pattern>
|
||||
<template>
|
||||
<random>
|
||||
<li>bye, triggernick</li>
|
||||
<li>goodbye, triggernick</li>
|
||||
<li>seeya, triggernick</li>
|
||||
<li>cya, triggernick</li>
|
||||
<li>ttyl, triggernick</li>
|
||||
</random>
|
||||
</template>
|
||||
</category>
|
||||
|
||||
</aiml>
|
||||
9
sopel_modules/SpiceBot_Configs/aiml/nickname_ping.aiml
Normal file
9
sopel_modules/SpiceBot_Configs/aiml/nickname_ping.aiml
Normal file
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<aiml version="1.0">
|
||||
|
||||
<category>
|
||||
<pattern>BOTNICK PING</pattern>
|
||||
<template>pong</template>
|
||||
</category>
|
||||
|
||||
</aiml>
|
||||
Loading…
Reference in New Issue
Block a user