A Simple way to extend the features and funtions from sogeBot
just like customVars script but with more powerfull access to functions and variables
DB schema for this
TABLE “plugin” (
“id” TEXT NOT NULL UNIQUE,
“script” TEXT,
“data” TEXT,
);
“script” contain JSscript
“data” contain JSON to store/read data like localStorage in Browsers works
UI is similar to CustomVar with just a script editor
this system have to have acces to
command registry to register/exec own commands
all global variables
user data to readonly from the table users
custom vars read/write
its own data storage from DB schema above
the functions needed
command registry
execute commands + params hidden/visible
like !points add $param etc…
url()
say() bot account and streamer account
discord say
what i want to acive? with that is a way making own minigames and or store and return own data
without the need of a integration/system
import Plugins in a fast easy way and share them with sogeBot users.