Multiple context commands in a single file

Like the topic said I want to register 2 context commands in the same command class. Is that possible, if yes how can I achieve this in my code?
2 Replies
Favna
Favna•14mo ago
That's not possible Well unless they're a user and message type and you'll have to separate their logic in contextMenuRun by if checking.
ShowCast
ShowCast•14mo ago
Okay thanks for the info. Then I'll create another command only for the context one 🙂