InteractiveModal constructor

InteractiveModal(
  1. String customId, {
  2. bool standalone = false,
})

Implementation

InteractiveModal(super.customId, { bool standalone = false }) {
  if (standalone) {
    InteractionCollector<ModalCreateEvent>(customId).collect().then((value) async {
      await handle(value);
    });
  }
}