Skip to content

Commit

Permalink
tts fix incorrect property check
Browse files Browse the repository at this point in the history
  • Loading branch information
Supinic committed Sep 17, 2024
1 parent b6183b9 commit 408a48d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/texttospeech/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module.exports = {
}
},
Code: (async function textToSpeech (context, ...args) {
if (!this.data.pending) {
if (!this.data.ttsEnabled) {
return {
success: false,
reply: "Local playsound listener is not configured!"
Expand Down

0 comments on commit 408a48d

Please sign in to comment.