From dfa97c9d24b8124ca38ec5eb605cde932cd6ea78 Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Tue, 2 May 2023 23:30:19 +0800 Subject: --- hydroroll/plugins/HydroRoll_plugin_echo/__init__.py | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 hydroroll/plugins/HydroRoll_plugin_echo/__init__.py (limited to 'hydroroll/plugins/HydroRoll_plugin_echo/__init__.py') diff --git a/hydroroll/plugins/HydroRoll_plugin_echo/__init__.py b/hydroroll/plugins/HydroRoll_plugin_echo/__init__.py deleted file mode 100644 index e800384..0000000 --- a/hydroroll/plugins/HydroRoll_plugin_echo/__init__.py +++ /dev/null @@ -1,17 +0,0 @@ -import re - -from plugins.hydroroll_plugin_base import CommandPluginBase - -from .config import Config - - -class Echo(CommandPluginBase[None, Config]): - Config = Config - - def __post_init__(self): - self.re_pattern = re.compile(r"(?P.*)", flags=re.I) - - async def handle(self) -> None: - await self.event.reply( - self.format_str(self.config.message_str, self.msg_match.group("echo_str")) - ) -- cgit v1.2.3-70-g09d2