I have successfully written my first Plugin. Now I've got two questions about it:
After compiling and loading it for the first time, I noticed that each time the bots get restarted the plugins are getting unloaded. Is there any way to prevent this? Alternatively, can I load plugins at startup?
EDIT: NVM the first question. Didn't realise I could just add it to onconnect
Is there any way to add my custom plugin commands to the API? I couldn't figure out how the commands are implemented into it.
I have successfully written my first Plugin. Now I've got two questions about it:
After compiling and loading it for the first time, I noticed that each time the bots get restarted the plugins are getting unloaded. Is there any way to prevent this? Alternatively, can I load plugins at startup?EDIT: NVM the first question. Didn't realise I could just add it to onconnectIs there any way to add my custom plugin commands to the API? I couldn't figure out how the commands are implemented into it.
Hope somebody can help me out :)