10 lines
315 B
Python
10 lines
315 B
Python
import discord
|
|
|
|
from bots.discord.client import client
|
|
from bots.discord.slash_parser import slash_parser
|
|
|
|
|
|
@client.slash_command(description="梗查询")
|
|
@discord.option(name="keywords", description="关键词")
|
|
async def meme(ctx: discord.ApplicationContext, keywords: str):
|
|
await slash_parser(ctx, keywords)
|