LogoAntiRaid

@antiraid-ext/framework/flowbase

API reference for @antiraid-ext/framework/flowbase

@antiraid-ext/framework/flowbase

Functions

BaseFramework

FlowFramework provides a Framework interface with the following special features:

  1. Commands can be registered directly as full name, e.g: "test foo bar" with the

commands being automatically compiled into a single command with subcommands.

  1. Subcommands and subcommand groups are automatically handled, with the base command

being created if it does not exist.

  1. getcommand returns either the full command (if registered as such) or the base command

if the command was registered as one monolithic unit.

Function Signature
--- FlowFramework provides a Framework interface with the following special features:
---
--- 1. Commands can be registered directly as full name, e.g: "test foo bar" with the
--- commands being automatically compiled into a single command with subcommands.
--- 2. Subcommands and subcommand groups are automatically handled, with the base command
--- being created if it does not exist.
--- 3. getcommand returns either the full command (if registered as such) or the base command
--- if the command was registered as one monolithic unit.
function BaseFramework(strict_val: boolean?) -> coretypes.BaseFramework end

Arguments

strict_val

This field is optional and may not be specified

boolean?

Returns

ret1

coretypes.BaseFramework

Last updated on