Archived
1
0
Fork 0
This repository has been archived on 2024-04-26. You can view files and clone it, but cannot push or open issues or pull requests.
akari-bot/core/elements/module/matches.py
2021-11-12 22:25:53 +08:00

33 lines
616 B
Python

from typing import List
from .meta import *
class CommandMatches:
def __init__(self):
self.set: List[CommandMeta] = []
def add(self, meta):
self.set.append(meta)
return self.set
class RegexMatches:
def __init__(self):
self.set: List[RegexMeta] = []
def add(self, meta):
self.set.append(meta)
return self.set
class ScheduleMatches:
def __init__(self):
self.set: List[ScheduleMeta] = []
def add(self, meta):
self.set.append(meta)
return self.set
__all__ = ["CommandMatches", "RegexMatches", "ScheduleMatches"]