You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
282 B

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import re
from mmpy_bot import Plugin, listen_to
from mmpy_bot import Message
class Abed(Plugin):
@listen_to(".*[Cc]ool.*")
async def wake_up(self, message: Message):
self.driver.reply_to(message, "cool, cool, cool.")