InteractiveRoleMenu constructor

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

Implementation

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