19 lines
480 B
Python
Executable File
19 lines
480 B
Python
Executable File
#!/usr/bin/env python3
|
|
"""
|
|
Will I like this?
|
|
"""
|
|
from module import commands, example
|
|
|
|
@commands('willilike')
|
|
@example('.willilike Banished Quest')
|
|
def willilike(bot, trigger):
|
|
"""An advanced AI that will determine if you like something."""
|
|
if trigger.group(2):
|
|
bot.reply("No.")
|
|
|
|
@commands('upvote')
|
|
@example('.willilike Banished Quest')
|
|
def upvote(bot, trigger):
|
|
"""An advanced AI that will determine if you like something."""
|
|
bot.say(trigger.nick + " upvoted this post!")
|