initial commit

This commit is contained in:
esef committed 2026-06-05 23:13:48 +03:00
commit 5b58feb646
10 files changed
+131

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
from discord.ext import commands
class General(commands.Cog):
def __init__(self, bot):
self.bot = bot
@commands.command()
async def yuuka(self, ctx):
await ctx.send('kanpeki!')
async def setup(bot):
await bot.add_cog(General(bot))
@commands.Cog.listener()
async def on_command_error(self, ctx, error):
if isinstance(error, commands.CommandNotFound):
return # ignore typos silently
print(f'Error: {error}')