2021-07-26 12:43:51 +00:00
|
|
|
from core.elements import MessageSession
|
2021-10-14 12:22:58 +00:00
|
|
|
from core.decorator import on_command
|
2021-02-01 15:13:11 +00:00
|
|
|
from .mcv import mcv, mcbv, mcdv
|
|
|
|
|
|
|
|
|
2021-10-14 12:22:58 +00:00
|
|
|
@on_command(
|
2021-07-07 16:00:24 +00:00
|
|
|
bind_prefix='mcv',
|
2021-07-21 17:58:33 +00:00
|
|
|
help_doc='~mcv {查询当前Minecraft Java版启动器内最新版本。}',
|
2021-09-10 18:05:27 +00:00
|
|
|
alias='m',
|
2021-09-19 13:14:50 +00:00
|
|
|
developers=['OasisAkari', 'Dianliang233'],
|
2021-09-10 18:05:27 +00:00
|
|
|
recommend_modules='mcbv')
|
2021-07-26 12:43:51 +00:00
|
|
|
async def mcv_loader(msg: MessageSession):
|
2021-07-27 16:03:48 +00:00
|
|
|
await msg.sendMessage(await mcv())
|
2021-08-25 14:32:37 +00:00
|
|
|
|
|
|
|
|
2021-10-14 12:22:58 +00:00
|
|
|
@on_command(
|
2021-08-25 14:32:37 +00:00
|
|
|
bind_prefix='mcbv',
|
2021-09-19 13:14:50 +00:00
|
|
|
help_doc='~mcbv {查询当前Minecraft 基岩版Jira内记录的最新版本。}',
|
|
|
|
developers=['OasisAkari', 'Dianliang233'])
|
2021-08-25 14:32:37 +00:00
|
|
|
async def mcbv_loader(msg: MessageSession):
|
|
|
|
await msg.sendMessage(await mcbv())
|
|
|
|
|
|
|
|
|
2021-10-14 12:22:58 +00:00
|
|
|
@on_command(
|
2021-08-25 14:32:37 +00:00
|
|
|
bind_prefix='mcdv',
|
2021-09-19 13:14:50 +00:00
|
|
|
help_doc='~mcdv {查询当前Minecraft Dungeons Jira内记录的最新版本。}',
|
|
|
|
developers=['OasisAkari', 'Dianliang233'])
|
2021-08-25 14:32:37 +00:00
|
|
|
async def mcdv_loader(msg: MessageSession):
|
|
|
|
await msg.sendMessage(await mcdv())
|