git clone [email protected]:AyzekReborn/AyzekReborn.git
To connect the plugin, you need to clone it to a folder packages:
cd packages
git clone [email protected]:UniqueNetwork/ayzek-plugin-unique.git
yarn
yarn build:dev
The build:dep command runs in the background, it does not need to be restarted.
And in a separate terminal:
mkdir dist/config
yarn run:dev
run:dev similarly, the bot automatically loads all changes in plugins. But run:dev needs to be restarted when configs change.
First stop run:dev by pressing CTRL+C.
Go to dist/config, there for all the APIs that you don't use, change local to an empty array.
Edit TelegramAPIPlugin.yaml like:
local:
- descriminator: telegramExample
username: name_bot
token: 1234567890:abcdeEFGHIJKlmnopQRSTUVwxyzABCDefgh
Start run:dev again.