2021-10-24 10:55:45 +00:00
|
|
|
from core.component import on_command
|
2021-11-12 14:25:53 +00:00
|
|
|
from core.elements import MessageSession
|
2022-01-15 04:36:33 +00:00
|
|
|
from .mcv import mcv, mcbv, mcdv, mcev
|
2021-02-01 15:13:11 +00:00
|
|
|
|
2021-10-24 10:55:45 +00:00
|
|
|
m = on_command(
|
2021-07-07 16:00:24 +00:00
|
|
|
bind_prefix='mcv',
|
2021-10-15 17:36:22 +00:00
|
|
|
desc='查询当前Minecraft Java版启动器内最新版本。',
|
2021-09-10 18:05:27 +00:00
|
|
|
alias='m',
|
2021-09-19 13:14:50 +00:00
|
|
|
developers=['OasisAkari', 'Dianliang233'],
|
2021-11-09 13:48:41 +00:00
|
|
|
recommend_modules=['mcbv', 'mcdv'])
|
2021-10-24 10:55:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
@m.handle()
|
2021-07-26 12:43:51 +00:00
|
|
|
async def mcv_loader(msg: MessageSession):
|
2022-05-21 16:04:29 +00:00
|
|
|
await msg.finish(await mcv())
|
2021-08-25 14:32:37 +00:00
|
|
|
|
|
|
|
|
2021-10-24 10:55:45 +00:00
|
|
|
mb = on_command(
|
2021-08-25 14:32:37 +00:00
|
|
|
bind_prefix='mcbv',
|
2021-10-15 17:36:22 +00:00
|
|
|
desc='查询当前Minecraft 基岩版Jira内记录的最新版本。',
|
2021-09-19 13:14:50 +00:00
|
|
|
developers=['OasisAkari', 'Dianliang233'])
|
2021-10-24 10:55:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
@mb.handle()
|
2021-08-25 14:32:37 +00:00
|
|
|
async def mcbv_loader(msg: MessageSession):
|
2022-05-21 16:04:29 +00:00
|
|
|
await msg.finish(await mcbv())
|
2021-08-25 14:32:37 +00:00
|
|
|
|
|
|
|
|
2021-10-24 10:55:45 +00:00
|
|
|
md = on_command(
|
2021-08-25 14:32:37 +00:00
|
|
|
bind_prefix='mcdv',
|
2021-10-15 17:36:22 +00:00
|
|
|
desc='查询当前Minecraft Dungeons Jira内记录的最新版本。',
|
2021-09-19 13:14:50 +00:00
|
|
|
developers=['OasisAkari', 'Dianliang233'])
|
2021-10-24 10:55:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
@md.handle()
|
2021-08-25 14:32:37 +00:00
|
|
|
async def mcdv_loader(msg: MessageSession):
|
2022-05-21 16:04:29 +00:00
|
|
|
await msg.finish(await mcdv())
|
2022-01-15 04:36:33 +00:00
|
|
|
|
|
|
|
|
|
|
|
me = on_command(
|
|
|
|
bind_prefix='mcev',
|
|
|
|
desc='查询当前Minecraft教育版Windows版记录的最新版本。',
|
|
|
|
developers=['OasisAkari', 'Dianliang233'])
|
|
|
|
|
|
|
|
|
|
|
|
@me.handle()
|
|
|
|
async def mcev_loader(msg: MessageSession):
|
2022-05-21 16:04:29 +00:00
|
|
|
await msg.finish(await mcev())
|