aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ChienDice/plugins/iamai_plugin_echo/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'ChienDice/plugins/iamai_plugin_echo/__init__.py')
-rw-r--r--ChienDice/plugins/iamai_plugin_echo/__init__.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/ChienDice/plugins/iamai_plugin_echo/__init__.py b/ChienDice/plugins/iamai_plugin_echo/__init__.py
deleted file mode 100644
index 98cfa39..0000000
--- a/ChienDice/plugins/iamai_plugin_echo/__init__.py
+++ /dev/null
@@ -1,17 +0,0 @@
-import re
-
-from plugins.iamai_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<echo_str>.*)", 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"))
- )