⚙️ Integration
Exports to make it easier to integrate with your existing systems
Server exports
GetChannelsWithDefaultDescription
GetChannelsWithDefaultDescription
Description: Retrieves all channels that are with their default descriptions for a specified job.
Parameters:
job
(string): The job identifier.
Returns:
A table containing all channels that have their default descriptions for the specified job.
Usage:
GetChannelDescription
GetChannelDescription
Description: Retrieves the description of a specified channel for a specified job.
Parameters:
channel
(number): The channel number.job
(string): The job identifier.
Returns:
The description of the specified channel for the specified job, or an
error
if the channel is not a number or the job is not provided.
Usage:
GetChannelDefaultDescription
GetChannelDefaultDescription
Description: Retrieves the default description of a specified channel for a specified job.
Parameters:
channel
(number): The channel number.job
(string): The job identifier.
Returns:
The default description of the specified channel for the specified job, or an
error
if the channel is not a number or the job is not provided.
Usage:
IsChannelDescriptionDefault
IsChannelDescriptionDefault
Description: Checks if the description of a specified channel for a specified job is the default description.
Parameters:
channel
(number): The channel number.job
(string): The job identifier.
Returns:
true
if the channel description is the default description,false
otherwise, or anerror
if the channel is not a number or the job is not provided.
Usage:
SetChannelDescription
SetChannelDescription
Description: Sets the description of a specified channel.
Parameters:
channel
(number): The channel number.channelDescription
(string): The new description for the channel.
Returns:
true
if the description was successfully set, or anerror
if the channel is not a number or the channel description is not provided.
Usage:
Last updated