If I send a message that NQN automatically replaces with its own bot impersonator (eg. through a persona, or by linking to a message and having it be replaced with the quote-embed version), but the channel the message was sent to has the "Use Application Commands" permission restricted, then you cannot edit or remove the message in any way.
Steps to reproduce:
- The user gets added to channel
#foo, which has "Use Application Commands" disabled for everyone - The user sends a message with persona A (i.e.
A: test); or they send a message with a link to any other message accessible by NQN - NQN replaces the message with a bot impersonator accordingly as intended
- There's no way for the user to edit the bot impersonator's message because the apps context menu is unavailable
One way to fix this would be to add regular commands that receive a message ID (and possibly a channel ID if necessary) and reproduce the same actions as the context action commands.