Skip to content

Conversation

@Odjit
Copy link
Collaborator

@Odjit Odjit commented Jun 13, 2025

Problem

The plugin Killfeed had it's commands start with killfeed this clashed with the assembly name also being killfeed which meant you need to use for example .killfeed killfeed. This is due to if there was a match at the start with an assembly name it wouldn't fallback in the case of no match to checking all commands with no assembly name specified.

Solution

If we don't find a match in the assembly specified then do a search over all commands.

Notes

In future, potentially should handle the commands being overloaded in this case but this is a fairly rare case only brought up due to killfeed prefixing its commands with killfeed. Not likely that there is overlap of .assemblyName command with some plugin's .commandgroup command where commandgroup = assemblyname

…pace would block out those commands if you didn't specify the assembly name they were in. Now if the command being looked for isn't found in the assembly go back to look across all the commands without specifying an assembly. In future, potentially should handle the commands being overloaded in this case but this is a fairly rare case only brought up due to killfeed prefixing its commands with killfeed.
@Odjit Odjit requested a review from decaprime June 13, 2025 16:38
Copy link
Owner

@decaprime decaprime left a comment

Choose a reason for hiding this comment

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

LGTM

@Odjit Odjit merged commit 84c042e into decaprime:main Jun 20, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants