ODButtonResponder class
under construction
We are still working the API Reference! This page might be incomplete or doesn't contain all details!
Overview
This is an Open Ticket button responder.
This class manages all workers which are executed when the related button is triggered.
Properties
inherited id class ➜ api.ODId
The id of this data.
inherited match type ➜ string|RegExp
The commandName or customId needs to match this string or regex for this responder to be executed.
inherited workers class ➜ api.ODWorkerManager
The manager that has all workers of this implementation
Methods
constructor() function ➜ api.ODButtonResponder
(no description)
View Parameters (5)
id: type ➜api.ODValidId- Parameter Description Lorem Ipsum.match: type ➜string|RegExp- Parameter Description Lorem Ipsum.callback: type ➜api.ODWorkerCallback- Parameter Description Lorem Ipsum.priority: number ➜number- Parameter Description Lorem Ipsum.callbackId: type ➜api.ODValidId- Parameter Description Lorem Ipsum.
inherited protected _change() function ➜ void
Trigger an onChange() event in the parent ODManager of this class.
inherited changed() function ➜ void
(❌ SYSTEM ONLY!!) Set the callback executed when a value inside this class changes.
respond() function ➜ Promise
Respond to this button
View Parameters (3)
instance: class ➜api.ODButtonResponderInstance- Parameter Description Lorem Ipsum.source: type ➜Source- Parameter Description Lorem Ipsum.params: type ➜Params- Parameter Description Lorem Ipsum.
Defaults
under construction
We're still working on this part of the documentation!
Examples
under construction
We're still working on this part of the documentation!