Skip to content

Commit

Permalink
bug(message_rate_limiter): Fix issue with fetching message clean content
Browse files Browse the repository at this point in the history
  • Loading branch information
emberdex committed Mar 18, 2024
1 parent e65bc3f commit df62bf6
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 df62bf6

Please sign in to comment.