minya_hotomoe/modules/Friend.py

33 lines
756 B
Python
Raw Normal View History

2023-09-12 05:51:47 +02:00
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
2023-09-12 10:21:36 +02:00
def _is_friend(userid: str):
pass
2023-09-12 05:51:47 +02:00
def module_ready(self):
print("[Friend] Module Ready.")