Skip to content

Conversation

@NFRCG
Copy link

@NFRCG NFRCG commented May 23, 2024

The following PR adds convenience methods to allow caption formatting from the CommandContext for a different recipient that is not the command sender.

The benefit of this is to allow usage of the same mechanisms for formatting/sending captions for the sender AND the recipient of a command.

If there is an alternative or preferred way to achieve the same goal, please let me know and I'll close this PR.

@broccolai
Copy link
Member

not sure about this one, you could just do this yourself by getting the CaptionFormatter / CaptionRegistry from the CommandManager. If you still think there's a good reason change this pr a little so that the old methods call this method and supply this.commandSender

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