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
2021-07-08 00:00:24 +08:00

16 lines
No EOL
488 B
Python

from graia.application import MessageChain
from graia.application.message.elements.internal import Plain
from core.template import sendMessage
from core.decorator import command
from .mcv import mcv, mcbv, mcdv
@command(
bind_prefix='mcv',
help_doc='~mcv - 查询当前Minecraft Java版启动器内最新版本。',
alias='m')
async def mcv_loader(kwargs: dict):
run = await mcv()
msgchain = MessageChain.create([Plain(run)])
await sendMessage(kwargs, msgchain)