Is Attachment Audio (Condition) — DiSky
Addon: DiSky · Category: Condition · Since: 4.12.0
Syntax
%attachment% (is|are) [an] audioDescription
Check if the specified attachment is an audio file (aka a vocal message). If it is, you'll be able to use the 'duration of attachment' expression.
Examples
loop attachments of event-message:
if loop-value is audio:
reply with "Audio duration: %duration of loop-value%"