Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bot/exts/filtering/_filters/antispam/mentions.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ async def triggered_on(self, ctx: FilterContext) -> bool:
# that is both not in the cache, and deleted while running this function.
# In such a situation, this will throw an error which we catch.
try:
resolved = await bot.instance.get_partial_messageable(resolved.channel_id).fetch_message(
resolved.message_id
resolved = await bot.instance.get_partial_messageable(ref.channel_id).fetch_message(
ref.message_id
)
except NotFound:
log.info("Could not fetch the reference message as it has been deleted.")
Expand Down