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

45 lines
1.1 KiB
Python
Raw Normal View History

2022-06-28 06:11:03 +00:00
from core.builtins.message import MessageSession
2022-07-31 08:27:58 +00:00
from core.component import on_command
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-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
2022-08-08 09:10:35 +00:00
@m.handle('{查询当前Minecraft Java版启动器内最新版本。}')
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-09-19 13:14:50 +00:00
developers=['OasisAkari', 'Dianliang233'])
2021-10-24 10:55:45 +00:00
2022-08-08 09:10:35 +00:00
@mb.handle('{查询当前Minecraft 基岩版Jira内记录的最新版本。}')
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-09-19 13:14:50 +00:00
developers=['OasisAkari', 'Dianliang233'])
2021-10-24 10:55:45 +00:00
2022-08-08 09:10:35 +00:00
@md.handle('{查询当前Minecraft Dungeons Jira内记录的最新版本。}')
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',
developers=['OasisAkari', 'Dianliang233'])
2022-08-08 09:10:35 +00:00
@me.handle('{查询当前Minecraft教育版Windows版记录的最新版本。}')
2022-01-15 04:36:33 +00:00
async def mcev_loader(msg: MessageSession):
2022-05-21 16:04:29 +00:00
await msg.finish(await mcev())