mirror of
https://github.com/wlinator/luminara.git
synced 2024-10-02 22:23:13 +00:00
Temporarily remove cog error handling for moderation.
This commit is contained in:
parent
942b49e01a
commit
2e760a7d7a
1 changed files with 2 additions and 2 deletions
|
@ -44,8 +44,8 @@ class Moderation(commands.Cog):
|
||||||
"""
|
"""
|
||||||
await ban.unban_user(ctx, target, reason)
|
await ban.unban_user(ctx, target, reason)
|
||||||
|
|
||||||
async def cog_command_error(self, ctx: ApplicationContext, error: Exception) -> None:
|
# async def cog_command_error(self, ctx: ApplicationContext, error: Exception) -> None:
|
||||||
await ctx.respond(embed=ModErrors.mod_error(ctx, str(error)))
|
# await ctx.respond(embed=ModErrors.mod_error(ctx, str(error)))
|
||||||
|
|
||||||
|
|
||||||
def setup(client):
|
def setup(client):
|
||||||
|
|
Loading…
Reference in a new issue