Skip to content

Conversation

karlsbjorn
Copy link
Contributor

@karlsbjorn karlsbjorn commented Aug 12, 2025

Description of the changes

Fixes fuzzy command search not ignoring blacklisted users
Closes #6482

Have the changes in this PR been tested?

Yes

@github-actions github-actions bot added the Category: Core - Other Internals This is related to core internals that don't have a dedicated label. label Aug 12, 2025
@Flame442 Flame442 added the Type: Bug Unexpected behavior, result, or exception. In case of PRs, it is a fix for the foregoing. label Aug 25, 2025
Copy link
Member

@Jackenmen Jackenmen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does technically solve the specific issue that it aims to, but the true reason this is happening is that the bot's global checks are not called - you can observe the same problem with e.g. the ignore list:
image
We could instead check the output of bot.message_eligible_as_command, but that may still be a band-aid fix? i.e. other cogs could be adding their own checks that wouldn't be called then (but then, on the other hand, maybe they shouldn't, since such checks might not expect the provided context to have no command? + we would deviate quite a bit from d.py's behaviour, if we called these checks)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Category: Core - Other Internals This is related to core internals that don't have a dedicated label. Type: Bug Unexpected behavior, result, or exception. In case of PRs, it is a fix for the foregoing.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Core] Fuzzy command help should ignore blocklisted individuals

3 participants