What is my purpose?
This commit is contained in:
commit
89db0bb24d
29 changed files with 1607 additions and 0 deletions
11
butterrobot_plugins_contrib/fun.py
Normal file
11
butterrobot_plugins_contrib/fun.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
from butterrobot.plugins import Plugin
|
||||
from butterrobot.objects import Message
|
||||
|
||||
|
||||
class LoquitoPlugin(Plugin):
|
||||
id = "contrib/fun/loquito"
|
||||
|
||||
@classmethod
|
||||
async def on_message(cls, message):
|
||||
if "lo quito" in message.text.lower():
|
||||
return Message(chat=message.chat, reply_to=message.id, text="Loquito tu.",)
|
Loading…
Add table
Add a link
Reference in a new issue