InteractiveDynamicMenu constructor

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

Implementation

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