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/__init__.py
yzhh 0d8354a6ea 🐟 👋
2021-07-13 23:48:43 +08:00

23 lines
786 B
Python

from typing import Callable
class Module:
def __init__(self,
function: Callable,
bind_prefix: str,
alias: [str, tuple],
help_doc: str,
need_self_process: bool,
is_admin_function: bool,
is_base_function: bool,
is_superuser_function: bool,
autorun: bool):
self.function = function
self.bind_prefix = bind_prefix
self.alias = alias
self.help_doc = help_doc
self.need_self_process = need_self_process
self.is_admin_function = is_admin_function
self.is_base_function = is_base_function
self.is_superuser_function = is_superuser_function
self.autorun = autorun