Preconditions in InteractionHandler
Can I execute a precondition in an Interaction Handler?
Solution:Jump to solution
that's what the parse method is for. Also keep in mind that preconditions are just glorified if checks, you can extract the logic to a seperate function and execute that function in both.
1 Reply
Solution
that's what the parse method is for. Also keep in mind that preconditions are just glorified if checks, you can extract the logic to a seperate function and execute that function in both.