From 408a48d64104aaf0222f4dba99909137d59f6283 Mon Sep 17 00:00:00 2001 From: supinic Date: Tue, 17 Sep 2024 19:49:21 +0200 Subject: [PATCH] `tts` fix incorrect property check --- commands/texttospeech/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/texttospeech/index.js b/commands/texttospeech/index.js index f11d85d81..6487c83eb 100644 --- a/commands/texttospeech/index.js +++ b/commands/texttospeech/index.js @@ -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!"