forked from capedayo/minya_hotomoe
21 lines
528 B
Python
21 lines
528 B
Python
|
from module_interface import ModuleInterface
|
||
|
from mipa.ext import tasks
|
||
|
import random
|
||
|
|
||
|
class Birthday(ModuleInterface):
|
||
|
def __init__(self):
|
||
|
super().__init__()
|
||
|
self.name = "Birthday"
|
||
|
self.regex_pattern = r"//"
|
||
|
|
||
|
print("[Birthday] Happy birthday message module, Birthday V1 loaded.")
|
||
|
|
||
|
def module_ready(self):
|
||
|
print("[Birthday] Module Ready.")
|
||
|
self.birthday_task.start()
|
||
|
|
||
|
@tasks.loop(seconds=600.0)
|
||
|
async def birthday_task(self):
|
||
|
#awa
|
||
|
pass
|