minya_hotomoe/modules/Friend.py
2023-09-12 17:21:36 +09:00

32 lines
756 B
Python

from module_interface import ModuleInterface
from mipac.models import Note
class Friend(ModuleInterface):
def __init__(self):
super().__init__()
self.name = "Friend"
self.regex_pattern = None
self.funcs["dec_like"] = self._dec_like
self.funcs["inc_like"] = self._inc_like
self.funcs["get_like"] = self._get_like
print("[Friend] Friend DB system, Friend V1 loaded.")
async def execute_module(self, ctx: Note):
pass
def _dec_like(userid: str):
pass
def _inc_like(userid: str):
pass
def _get_like(userid: str):
pass
def _is_friend(userid: str):
pass
def module_ready(self):
print("[Friend] Module Ready.")