Audio Commands Plugin
This is a built-in core plugin that handles bot audio functionality commands.
Usage:
!audiostatus
: Shows the audio interface status.!queue
: Displays the current audio tracks in the audio queue.!playing
: Displays the current audio track and the duration of the track.!pause
: Pauses the currently playing audio track.!resume
: Resumes the currently paused audio track.!stop
: Stops the currently playing audio track and clears the queue.!loop
: Toggles looping for the current audio track.!remove 'track_number'
: Remove a track from the audio queue by the track number.!clear
: Clears all the audio tracks in the audio queue.!replay
: Replays the currently playing audio track.!shuffle
: Randomly shuffles the order of audio tracks in the audio queue.!skip 'track_number'
: Skips ahead in the audio queue to the given track number. It skips to the next track in the queue if a track number is not provided.!seek 'seconds'
: Skips ahead in the current audio track by the given number of seconds.!volume/!v '0..1'
: Sets the bot audio volume.!duckaudio
: Toggles the bot audio ducking feature.!duckvolume '0..1'
: Sets the bot ducking audio volume.!duckthreshold '0..1'
: Sets the bot ducking audio threshold.!duckdelay '0..1'
: Sets the bot ducking audio delay before changing the volume back to the regular level.
Plugin Metadata
[Plugin Information]
PluginVersion = 5.2.0
PluginName = Audio Commands
PluginDescription = The Audio Commands plugin handles bot audio functionality commands.
PluginLanguage = EN
PluginCommands: [
"audiostatus",
"queue",
"pause",
"resume",
"playing",
"replay",
"shuffle",
"skip",
"stop",
"clear",
"loop",
"remove",
"seek",
"volume",
"duckaudio",
"duckvolume",
"duckthreshold",
"duckdelay"
]
[Plugin Settings]
; List commands that need the core thread to wait for completion.
; This may include processes that require multiple commands in succession.
; For example: [Youtube Plugin - !yt -> !p] process requires 2 commands in that order.
ThreadWaitForCommands: []
UseSingleThread = False
[Plugin Type]
ControllablePlugin = False
AudioPlugin = False
ImagePlugin = False
CorePlugin = True
ExtensionPlugin = False