Added Kanji cog

This commit is contained in:
Robert 2020-08-11 15:52:13 +02:00
parent f27d195964
commit 66e8cc9250
2 changed files with 15 additions and 1 deletions

14
cogs/kanji.py Normal file
View file

@ -0,0 +1,14 @@
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="<kanji>", aliases=["k"])
@commands.cooldown(1, 5)
async def kanji(self, ctx, *, kanji):
return kanji
def setup(bot):
bot.add_cog(Kanji(bot))