Skip to content

Commit

Permalink
Merge pull request #25 from hwsuk/bug/fix-rate-limiter-exception-hand…
Browse files Browse the repository at this point in the history
…ling

bug(message_rate_limiter): Fix issue with fetching message clean content
  • Loading branch information
emberdex authored Mar 18, 2024
2 parents 67e45c2 + df62bf6 commit af2beb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion harmony_cogs/message_rate_limiter.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ async def on_message(self, message: discord.Message) -> typing.NoReturn:
guild_channel_url=guild_channel.jump_url,
original_message_timestamp=rate_limiter_data.message_timestamp,
rate_limit_seconds=channel_limit.rate_limit_seconds,
deleted_message_content=message.clean_content()
deleted_message_content=message.clean_content
)
)
except discord.errors.DiscordException as e:
Expand Down

0 comments on commit af2beb9

Please sign in to comment.