Skip to content

Commit

Permalink
i dont know, im on something tonit
Browse files Browse the repository at this point in the history
  • Loading branch information
Hadock-is-ok committed Dec 24, 2023
1 parent b6411f6 commit 84166f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ext/error.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ async def on_command_error(self, ctx: AloneContext, error: Exception) -> None:
embed.set_author(name=f"{ctx.author.name}", icon_url=ctx.author.display_avatar)
embed.add_field(
name="Information",
value=f"Error Name: {error.__name__}\nMessage: {ctx.message.content}\n{guild}Channel ID: {ctx.channel.id}", # type: ignore fuck you pyright this shit exists
value=f"Error Name: {error.__class__.__name__}\nMessage: {ctx.message.content}\n{guild}Channel ID: {ctx.channel.id}",
)

channel: discord.Webhook = self.bot.get_log_webhook()
Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ reportImportCycles = false
reportUnusedImport = "error"
reportUnnecessaryTypeIgnoreComment = "error"
reportIncompatibleMethodOverride = "none"
reportPrivateUsage = "none"
reportPrivateUsage = "none"
exclude = ["**/venv"]

0 comments on commit 84166f3

Please sign in to comment.