-
Notifications
You must be signed in to change notification settings - Fork 0
Models Handler
Miguel Tenorio edited this page Nov 10, 2020
·
1 revision
The group commands /models and /list_models build a list containing the models available in the source code. For more information about the models check this wiki page.
It also says which is the current model to be used and allows you to select one of those available.
Line 16 to 27 describes the callback function of the aforementioned commands.
Line 33 to 56 exposes a handler for the messages that matches the following regular expression in its python form:
^/set(\w+)That is, any message that contain a word of the form /setSomething.
Only group admins can use /models or /list_models, as well as change the current model.
Wiki of Matcom Scheduler © Copyright 2019-2020 – Licensed by 2kodevs