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

18 lines
499 B
Python
Raw Normal View History

2023-04-08 04:25:48 +00:00
import asyncio
2023-04-19 07:41:39 +00:00
2023-04-08 04:25:48 +00:00
from modules.mcv import mcv, mcbv, mcdv, mcev
2023-04-19 07:41:39 +00:00
from .utils import fake_msg, AkariTool
2023-04-08 04:25:48 +00:00
2023-06-20 07:29:56 +00:00
async def mcv_all():
2023-04-08 04:25:48 +00:00
results = await asyncio.gather(
mcv(fake_msg), mcbv(fake_msg), mcdv(fake_msg), mcev(fake_msg)
)
return '\n---'.join(results)
2023-06-20 07:29:56 +00:00
mcv_tool = AkariTool.from_function(
name='minecraft_versions',
2023-04-08 04:25:48 +00:00
func=mcv_all,
description='A tool for checking current Minecraft: Java/Bedrock/Education Edition or Minecraft Dungeons versions. No input is required.'
)