mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-12 22:49:53 -05:00
add like
This commit is contained in:
parent
12f24d1e4b
commit
ecca6495b5
@ -18,3 +18,13 @@ def bot_command_love_b(bot, trigger):
|
|||||||
@sopel.module.nickname_commands('loveya')
|
@sopel.module.nickname_commands('loveya')
|
||||||
def bot_command_love_c(bot, trigger):
|
def bot_command_love_c(bot, trigger):
|
||||||
bot_command_love(bot, trigger)
|
bot_command_love(bot, trigger)
|
||||||
|
|
||||||
|
|
||||||
|
@sopel.module.rule(r'(?i)(I like you),? $nickname[ \t]*$')
|
||||||
|
def bot_command_like(bot, trigger):
|
||||||
|
bot.reply("I like you too.")
|
||||||
|
|
||||||
|
|
||||||
|
@sopel.module.rule('$nickname (I like you)')
|
||||||
|
def bot_command_like_b(bot, trigger):
|
||||||
|
bot_command_like(bot, trigger)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user