From 4a79881fd06fe5a3652a3c13c004d00357a37dc0 Mon Sep 17 00:00:00 2001 From: ChomeNS Date: Sun, 25 Dec 2022 17:45:06 +0700 Subject: [PATCH] fix new translate api --- commands/translate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/translate.js b/commands/translate.js index 227a0f1..b065a36 100644 --- a/commands/translate.js +++ b/commands/translate.js @@ -1,5 +1,5 @@ const { EmbedBuilder } = require('discord.js') -const translate = require('@vitalets/google-translate-api') +const { translate } = require('@vitalets/google-translate-api') module.exports = { name: 'translate', alias: [],