Added Kanji cog
This commit is contained in:
parent
f27d195964
commit
66e8cc9250
2 changed files with 15 additions and 1 deletions
14
cogs/kanji.py
Normal file
14
cogs/kanji.py
Normal 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))
|
Loading…
Add table
Add a link
Reference in a new issue