How can I trigger functions in my plugin while ASF is running? #3342
-
I am currently familiarizing myself with the plugins, the plugin is already running in ASF, but I do not yet understand how I can specifically control the functions during operation or how they can be called up. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
If you want to trigger via chat commands i.e. |
Beta Was this translation helpful? Give feedback.
-
That depends on how you want to control your plugin during operation.
All mechanisms above are available to review in example plugin which nolddor already linked you above. There are also other options, e.g.:
|
Beta Was this translation helpful? Give feedback.
-
Thank you very much for your answers! 😇 |
Beta Was this translation helpful? Give feedback.
That depends on how you want to control your plugin during operation.
IBotCommand2
usage.IBotMessage
.ArchiController
.All mechanisms above are available to review in example plugin which nolddor already linked you above.
There are also other options, e.g.:
OnLoaded()
orOnBotInitModules()
), it'll run as per your initialization.