#Question about Component and Modal Event
1 messages · Page 1 of 1 (latest)
Hey! Once your issue is solved, press the button below to close this thread!
Is there way to check if the there is a already a component callback for a component in on_component?
yes... ish
i would suggest avoiding overlap in general, but technically you could use the bots internal list of bot._component_callbacks and bot._regex_component_callbacks
though, as you may be able to tell from the underscores, youre not really meant to access these
to clarify: this is a definitive yes unless you disable the default listeners for raw_interaction_create (which you almost never should)
Thank you so much, I will check it out!