18 lines
422 B
Python
Executable File
18 lines
422 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 len(trigger.args) >= 2:
|
|
bot.reply("No.")
|
|
|
|
@commands('upvote')
|
|
def upvote(bot, trigger):
|
|
"""Upvotes a post made by someone."""
|
|
bot.msg(trigger.nick + " upvoted this post!")
|