... | ... | @@ -74,6 +74,7 @@ public class MyModule extends AIModule{ |
|
|
If you are creating a module the class will automatically be initialized, if you are adding this inside a plugin you will have to initialize the class in order for it to be registered. Make sure to do a check to see if the QAPlugin is installed before doing so.
|
|
|
|
|
|
Every module requires a *name*, *author* and *description*. These are defined by using annotations on your AIModule class.
|
|
|
Read more about annotations [here](module-annotations).
|
|
|
|
|
|
#### Returning a dynamic response
|
|
|
The first thing to do is to overwrite the `getResponse` method of the AIModule.
|
... | ... | |