Fix Lint
This commit is contained in:
parent
62ef6c62b6
commit
14a1c90c46
1 changed files with 1 additions and 1 deletions
|
|
@ -183,7 +183,7 @@ export default definePlugin({
|
|||
|
||||
try {
|
||||
const buffer = await generateAnimalese(message.content);
|
||||
await playSound(buffer, settings.store.volume);
|
||||
if (buffer) await playSound(buffer, settings.store.volume);
|
||||
} catch (err) {
|
||||
console.error("[Animalese]", err);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue