Get plugin by folder and element
object The
&getPlugin
(string $folder, string $name)
-
string
$folder: The folder of the plugin
-
string
$name: The element of the plugin
Loads the bot file
void
import
(string $folder, string $element, int $published, [string $params = ''])
-
string
$folder: The folder (group)
-
string
$element: The elements (name of file without extension)
-
int
$published: Published state
-
string
$params: The params for the bot
Loads all the bot files for a particular group
void
importGroup
(string $group)
-
string
$group: The group name, relates to the sub-directory in the plugins directory