Skip to content

Commit

Permalink
Merge pull request #233 from IgKniteDev/develop
Browse files Browse the repository at this point in the history
🐛 [bug-fixed] Fixed a bug related to the exception handler
  • Loading branch information
hitblast authored Jun 18, 2023
2 parents 6d315cc + 03584c4 commit 66b9887
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions cogs/exceptionhandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ async def on_slash_command_error(self, inter: disnake.CommandInteraction, error:
else:
embed.title = 'Whoops! An alien error occured.'

embed.set_description(str(error))
embed.description = str(error)
await inter.send(embed=embed, view=self.get_view(inter), ephemeral=True)

@commands.Cog.listener()
Expand All @@ -73,7 +73,7 @@ async def on_user_command_error(self, inter: disnake.CommandInteraction, error:
else:
embed.title = 'Whoops! An alien error occured.'

embed.set_description(str(error))
embed.description = str(error)
await inter.send(embed=embed, view=self.get_view(inter), ephemeral=True)

@commands.Cog.listener()
Expand All @@ -96,7 +96,7 @@ async def on_message_command_error(self, inter: disnake.CommandInteraction, erro
else:
embed.title = 'Whoops! An alien error occured.'

embed.set_description(str(error))
embed.description = str(error)
await inter.send(embed=embed, view=self.get_view(inter), ephemeral=True)


Expand Down
2 changes: 1 addition & 1 deletion core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from .ui import *

# Set version number.
__version_info__ = ('2023', '6', '17') # Year.Month.Day
__version_info__ = ('2023', '6', '18') # Year.Month.Day
__version__ = '.'.join(__version_info__)


Expand Down

0 comments on commit 66b9887

Please sign in to comment.