from module_interface import ModuleInterface from mipac.models import Note import random class MConch(ModuleInterface): def __init__(self): super().__init__() self.name = "Magic_Conch" self.regex_pattern = r".*마법의 미냐고동님\s*.*?" print("[Magic_Conch] Selection helper module, Magic_Conch V1 loaded.") async def execute_module(self, ctx: Note): print(f"[Magic_Conch] Got Magic_Conch Message : {ctx.content}") await ctx.api.action.reply(random.choice(["아..니요?", "네!", "안 돼요!", "아마도요..?"]))