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/bots/discord/slash/mcv.py
2022-08-17 16:21:59 +08:00

25 lines
769 B
Python

import discord
from bots.discord.client import client
from bots.discord.slash_parser import slash_parser
@client.slash_command(description="获取Minecraft Java版的最新版本信息")
async def mcv(ctx: discord.ApplicationContext):
await slash_parser(ctx, '')
@client.slash_command(description="获取Minecraft基岩版的最新版本信息")
async def mcbv(ctx: discord.ApplicationContext):
await slash_parser(ctx, '')
@client.slash_command(description="获取Minecraft Dungeons的最新版本信息")
async def mcdv(ctx: discord.ApplicationContext):
await slash_parser(ctx, '')
@client.slash_command(description="获取Minecraft教育版的最新版本信息")
async def mcev(ctx: discord.ApplicationContext):
await slash_parser(ctx, '')