Custom Command
FunctionsBot Functions

$botPrefix

This function retrieves and returns the current prefix of the bot. The prefix is used to recognize native bot commands such as !!clone, !!create, and other built-in commands.

Usage

$botPrefix

The $botPrefix function returns the prefix currently configured for the bot.

For the main bot, this is the bot's native command prefix (!!).

For custom bots, the function returns the prefix configured by the administrator in the dashboard.

On this page