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/ask/tools/mcv.py
2023-06-20 15:29:56 +08:00

17 lines
499 B
Python

import asyncio
from modules.mcv import mcv, mcbv, mcdv, mcev
from .utils import fake_msg, AkariTool
async def mcv_all():
results = await asyncio.gather(
mcv(fake_msg), mcbv(fake_msg), mcdv(fake_msg), mcev(fake_msg)
)
return '\n---'.join(results)
mcv_tool = AkariTool.from_function(
name='minecraft_versions',
func=mcv_all,
description='A tool for checking current Minecraft: Java/Bedrock/Education Edition or Minecraft Dungeons versions. No input is required.'
)