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/modules/mcv/__init__.py
多羅狼 828d51a85b
i18n
2023-03-19 15:12:14 +08:00

44 lines
963 B
Python

from core.builtins import Bot
from core.component import module
from .mcv import mcv, mcbv, mcdv, mcev
m = module(
bind_prefix='mcv',
alias='m',
developers=['OasisAkari', 'Dianliang233'],
recommend_modules=['mcbv', 'mcdv'])
@m.handle('{{mcv.mcv.help}}')
async def mcv_loader(msg: Bot.MessageSession):
await msg.finish(await mcv())
mb = module(
bind_prefix='mcbv',
developers=['OasisAkari', 'Dianliang233'])
@mb.handle('{{mcv.mcbv.help}}')
async def mcbv_loader(msg: Bot.MessageSession):
await msg.finish(await mcbv())
md = module(
bind_prefix='mcdv',
developers=['OasisAkari', 'Dianliang233'])
@md.handle('{{mcv.mcdv.help}}')
async def mcdv_loader(msg: Bot.MessageSession):
await msg.finish(await mcdv())
me = module(
bind_prefix='mcev',
developers=['OasisAkari', 'Dianliang233'])
@me.handle('{{mcv.mcev.help}}')
async def mcev_loader(msg: Bot.MessageSession):
await msg.finish(await mcev())