import discord from discord.ext import commands class Kanji(commands.Cog): def __init__(self, bot): self.bot = bot @commands.command(name="kanji", description="Performs a Kanji search", usage="", aliases=["k"]) @commands.cooldown(1, 5) async def kanji(self, ctx, *, kanji): return kanji def setup(bot): bot.add_cog(Kanji(bot))