Update Translator.plugin.js

This commit is contained in:
Mirco Wittrien 2022-11-23 23:24:53 +01:00 committed by GitHub
parent 386f6f14b5
commit 2f13463cf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
* @name Translator
* @author DevilBro
* @authorId 278543574059057154
* @version 2.4.6
* @version 2.4.7
* @description Allows you to translate Messages and your outgoing Messages within Discord
* @invite Jx3TjNS
* @donate https://www.paypal.me/MircoWittrien
@ -1108,8 +1108,8 @@ module.exports = (_ => {
papagoTranslate (data, callback) {
const credentials = (authKeys.papago && authKeys.papago.key || "kUNGxtAmTJQFbaFehdjk zC70k3VhpM").split(" ");
BDFDB.LibraryRequires.request.post({
url: "https://openapi.naver.com/v1/papago/n2mt",
BDFDB.LibraryRequires.request("https://openapi.naver.com/v1/papago/n2mt", {
method: "post",
form: {
source: data.input.id,
target: data.output.id,