This commit is contained in:
Bxio 2025-04-17 09:56:08 +01:00
parent ab48ac6220
commit 68afe5bdb3
71 changed files with 1 additions and 770 deletions

View File

@ -1,20 +0,0 @@
Error: Cannot find module 'mongoose'
Require stack:
- /root/arisu/src/events/handlers/ready.js
- /root/arisu/src/functions/handlers/handelEvents.js
- /root/arisu/src/index.js
Error: Cannot find module 'mongoose'
Require stack:
- /root/arisu/src/events/handlers/ready.js
- /root/arisu/src/functions/handlers/handelEvents.js
- /root/arisu/src/index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
at Module._load (node:internal/modules/cjs/loader:975:27)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at Object.<anonymous> (/root/arisu/src/events/handlers/ready.js:2:18)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)

View File

@ -1,20 +0,0 @@
Error: Cannot find module 'mongoose'
Require stack:
- /root/arisu/src/events/handlers/ready.js
- /root/arisu/src/functions/handlers/handelEvents.js
- /root/arisu/src/index.js
Error: Cannot find module 'mongoose'
Require stack:
- /root/arisu/src/events/handlers/ready.js
- /root/arisu/src/functions/handlers/handelEvents.js
- /root/arisu/src/index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
at Module._load (node:internal/modules/cjs/loader:975:27)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at Object.<anonymous> (/root/arisu/src/events/handlers/ready.js:2:18)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)

View File

@ -1,20 +0,0 @@
Error: Cannot find module 'mongoose'
Require stack:
- /root/arisu/src/events/handlers/ready.js
- /root/arisu/src/functions/handlers/handelEvents.js
- /root/arisu/src/index.js
Error: Cannot find module 'mongoose'
Require stack:
- /root/arisu/src/events/handlers/ready.js
- /root/arisu/src/functions/handlers/handelEvents.js
- /root/arisu/src/index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
at Module._load (node:internal/modules/cjs/loader:975:27)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at Object.<anonymous> (/root/arisu/src/events/handlers/ready.js:2:18)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)

View File

@ -1,24 +0,0 @@
Error: Cannot find module 'mysql2/promise'
Require stack:
- /root/arisu/database/db.js
- /root/arisu/src/commands/Community/testeadd.js
- /root/arisu/src/functions/handlers/handleCommands.js
- /root/arisu/admin/dashboard.js
- /root/arisu/src/index.js
Error: Cannot find module 'mysql2/promise'
Require stack:
- /root/arisu/database/db.js
- /root/arisu/src/commands/Community/testeadd.js
- /root/arisu/src/functions/handlers/handleCommands.js
- /root/arisu/admin/dashboard.js
- /root/arisu/src/index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
at Module._load (node:internal/modules/cjs/loader:975:27)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at Object.<anonymous> (/root/arisu/database/db.js:1:15)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)

View File

@ -1,24 +0,0 @@
Error: Cannot find module 'mysql2/promise'
Require stack:
- /root/arisu/database/db.js
- /root/arisu/src/commands/Community/testeadd.js
- /root/arisu/src/functions/handlers/handleCommands.js
- /root/arisu/admin/dashboard.js
- /root/arisu/src/index.js
Error: Cannot find module 'mysql2/promise'
Require stack:
- /root/arisu/database/db.js
- /root/arisu/src/commands/Community/testeadd.js
- /root/arisu/src/functions/handlers/handleCommands.js
- /root/arisu/admin/dashboard.js
- /root/arisu/src/index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
at Module._load (node:internal/modules/cjs/loader:975:27)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at Object.<anonymous> (/root/arisu/database/db.js:1:15)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)

View File

@ -1,24 +0,0 @@
Error: Cannot find module 'mysql2/promise'
Require stack:
- /root/arisu/database/db.js
- /root/arisu/src/commands/Community/testeadd.js
- /root/arisu/src/functions/handlers/handleCommands.js
- /root/arisu/admin/dashboard.js
- /root/arisu/src/index.js
Error: Cannot find module 'mysql2/promise'
Require stack:
- /root/arisu/database/db.js
- /root/arisu/src/commands/Community/testeadd.js
- /root/arisu/src/functions/handlers/handleCommands.js
- /root/arisu/admin/dashboard.js
- /root/arisu/src/index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
at Module._load (node:internal/modules/cjs/loader:975:27)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at Object.<anonymous> (/root/arisu/database/db.js:1:15)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)

View File

@ -1,24 +0,0 @@
Error: Cannot find module 'mysql2/promise'
Require stack:
- /root/arisu/database/db.js
- /root/arisu/src/commands/Community/testeadd.js
- /root/arisu/src/functions/handlers/handleCommands.js
- /root/arisu/admin/dashboard.js
- /root/arisu/src/index.js
Error: Cannot find module 'mysql2/promise'
Require stack:
- /root/arisu/database/db.js
- /root/arisu/src/commands/Community/testeadd.js
- /root/arisu/src/functions/handlers/handleCommands.js
- /root/arisu/admin/dashboard.js
- /root/arisu/src/index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
at Module._load (node:internal/modules/cjs/loader:975:27)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at Object.<anonymous> (/root/arisu/database/db.js:1:15)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)

View File

@ -1,24 +0,0 @@
Error: Cannot find module 'mysql2/promise'
Require stack:
- /root/arisu/database/db.js
- /root/arisu/src/commands/Community/testeadd.js
- /root/arisu/src/functions/handlers/handleCommands.js
- /root/arisu/admin/dashboard.js
- /root/arisu/src/index.js
Error: Cannot find module 'mysql2/promise'
Require stack:
- /root/arisu/database/db.js
- /root/arisu/src/commands/Community/testeadd.js
- /root/arisu/src/functions/handlers/handleCommands.js
- /root/arisu/admin/dashboard.js
- /root/arisu/src/index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
at Module._load (node:internal/modules/cjs/loader:975:27)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at Object.<anonymous> (/root/arisu/database/db.js:1:15)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)

View File

@ -1,24 +0,0 @@
Error: Cannot find module 'mysql2/promise'
Require stack:
- /root/arisu/database/db.js
- /root/arisu/src/commands/Community/testeadd.js
- /root/arisu/src/functions/handlers/handleCommands.js
- /root/arisu/admin/dashboard.js
- /root/arisu/src/index.js
Error: Cannot find module 'mysql2/promise'
Require stack:
- /root/arisu/database/db.js
- /root/arisu/src/commands/Community/testeadd.js
- /root/arisu/src/functions/handlers/handleCommands.js
- /root/arisu/admin/dashboard.js
- /root/arisu/src/index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
at Module._load (node:internal/modules/cjs/loader:975:27)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at Object.<anonymous> (/root/arisu/database/db.js:1:15)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)

View File

@ -1,24 +0,0 @@
Error: Cannot find module 'mysql2/promise'
Require stack:
- /root/arisu/database/db.js
- /root/arisu/src/commands/Community/testeadd.js
- /root/arisu/src/functions/handlers/handleCommands.js
- /root/arisu/admin/dashboard.js
- /root/arisu/src/index.js
Error: Cannot find module 'mysql2/promise'
Require stack:
- /root/arisu/database/db.js
- /root/arisu/src/commands/Community/testeadd.js
- /root/arisu/src/functions/handlers/handleCommands.js
- /root/arisu/admin/dashboard.js
- /root/arisu/src/index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
at Module._load (node:internal/modules/cjs/loader:975:27)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at Object.<anonymous> (/root/arisu/database/db.js:1:15)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)

View File

@ -1,12 +0,0 @@
TypeError: Found non-callable @@iterator
TypeError: Found non-callable @@iterator
at /root/arisu/src/commands/Community/testeadd.js:40:18
at MixedClass._sharedAddOptionMethod (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2439:50)
at MixedClass.addStringOption (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2411:17)
at Object.<anonymous> (/root/arisu/src/commands/Community/testeadd.js:36:10)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)

View File

@ -1,12 +0,0 @@
TypeError: Found non-callable @@iterator
TypeError: Found non-callable @@iterator
at /root/arisu/src/commands/Community/testeadd.js:40:18
at MixedClass._sharedAddOptionMethod (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2439:50)
at MixedClass.addStringOption (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2411:17)
at Object.<anonymous> (/root/arisu/src/commands/Community/testeadd.js:36:10)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)

View File

@ -1,12 +0,0 @@
TypeError: Found non-callable @@iterator
TypeError: Found non-callable @@iterator
at /root/arisu/src/commands/Community/testeadd.js:40:18
at MixedClass._sharedAddOptionMethod (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2439:50)
at MixedClass.addStringOption (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2411:17)
at Object.<anonymous> (/root/arisu/src/commands/Community/testeadd.js:36:10)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)

View File

@ -1,12 +0,0 @@
TypeError: Found non-callable @@iterator
TypeError: Found non-callable @@iterator
at /root/arisu/src/commands/Community/testeadd.js:40:18
at MixedClass._sharedAddOptionMethod (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2439:50)
at MixedClass.addStringOption (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2411:17)
at Object.<anonymous> (/root/arisu/src/commands/Community/testeadd.js:36:10)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)

View File

@ -1,2 +0,0 @@
undefined: undefined
undefined

View File

@ -1,2 +0,0 @@
undefined: undefined
undefined

View File

@ -1,2 +0,0 @@
undefined: undefined
undefined

View File

@ -1,2 +0,0 @@
undefined: undefined
undefined

View File

@ -1,2 +0,0 @@
undefined: undefined
undefined

View File

@ -1,2 +0,0 @@
undefined: undefined
undefined

View File

@ -1,12 +0,0 @@
ReferenceError: choicess is not defined
ReferenceError: choicess is not defined
at /root/arisu/src/commands/Community/testeadd.js:46:32
at MixedClass._sharedAddOptionMethod (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2439:50)
at MixedClass.addStringOption (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2411:17)
at Object.<anonymous> (/root/arisu/src/commands/Community/testeadd.js:42:10)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)

View File

@ -1,2 +0,0 @@
undefined: undefined
undefined

View File

@ -1,12 +0,0 @@
ReferenceError: choicess is not defined
ReferenceError: choicess is not defined
at /root/arisu/src/commands/Community/testeadd.js:46:32
at MixedClass._sharedAddOptionMethod (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2439:50)
at MixedClass.addStringOption (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2411:17)
at Object.<anonymous> (/root/arisu/src/commands/Community/testeadd.js:42:10)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)

View File

@ -1,2 +0,0 @@
undefined: undefined
undefined

View File

@ -1,16 +0,0 @@
SyntaxError: Unexpected token 'async'
/root/arisu/src/commands/Community/testeadd.js:32
async execute(interaction, client) {
^^^^^
SyntaxError: Unexpected token 'async'
at internalCompileFunction (node:internal/vm:73:18)
at wrapSafe (node:internal/modules/cjs/loader:1274:20)
at Module._compile (node:internal/modules/cjs/loader:1320:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at loadCommand (/root/arisu/src/functions/handlers/handleCommands.js:77:25)
at FSWatcher.<anonymous> (/root/arisu/src/functions/handlers/handleCommands.js:263:13)

View File

@ -1,16 +0,0 @@
SyntaxError: Unexpected token 'async'
/root/arisu/src/commands/Community/testeadd.js:32
async execute(interaction, client) {
^^^^^
SyntaxError: Unexpected token 'async'
at internalCompileFunction (node:internal/vm:73:18)
at wrapSafe (node:internal/modules/cjs/loader:1274:20)
at Module._compile (node:internal/modules/cjs/loader:1320:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at loadCommand (/root/arisu/src/functions/handlers/handleCommands.js:77:25)
at loadCommands (/root/arisu/src/functions/handlers/handleCommands.js:102:25)

View File

@ -1,16 +0,0 @@
SyntaxError: await is only valid in async functions and the top level bodies of modules
/root/arisu/src/commands/Community/testeadd.js:14
const choices = await getChoicesFromDatabase();
^^^^^
SyntaxError: await is only valid in async functions and the top level bodies of modules
at internalCompileFunction (node:internal/vm:73:18)
at wrapSafe (node:internal/modules/cjs/loader:1274:20)
at Module._compile (node:internal/modules/cjs/loader:1320:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at loadCommand (/root/arisu/src/functions/handlers/handleCommands.js:77:25)
at FSWatcher.<anonymous> (/root/arisu/src/functions/handlers/handleCommands.js:263:13)

View File

@ -1,12 +0,0 @@
TypeError: Found non-callable @@iterator
TypeError: Found non-callable @@iterator
at /root/arisu/src/commands/Community/testeadd.js:24:14
at MixedClass._sharedAddOptionMethod (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2439:50)
at MixedClass.addStringOption (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2411:17)
at Object.<anonymous> (/root/arisu/src/commands/Community/testeadd.js:20:6)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)

View File

@ -1,12 +0,0 @@
TypeError: Found non-callable @@iterator
TypeError: Found non-callable @@iterator
at /root/arisu/src/commands/Community/testeadd.js:24:14
at MixedClass._sharedAddOptionMethod (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2439:50)
at MixedClass.addStringOption (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2411:17)
at Object.<anonymous> (/root/arisu/src/commands/Community/testeadd.js:20:6)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)

View File

@ -1,16 +0,0 @@
SyntaxError: await is only valid in async functions and the top level bodies of modules
/root/arisu/src/commands/Community/testeadd.js:7
const [rows] = await conn.execute(query);
^^^^^
SyntaxError: await is only valid in async functions and the top level bodies of modules
at internalCompileFunction (node:internal/vm:73:18)
at wrapSafe (node:internal/modules/cjs/loader:1274:20)
at Module._compile (node:internal/modules/cjs/loader:1320:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at loadCommand (/root/arisu/src/functions/handlers/handleCommands.js:77:25)
at loadCommands (/root/arisu/src/functions/handlers/handleCommands.js:102:25)

View File

@ -1,16 +0,0 @@
SyntaxError: await is only valid in async functions and the top level bodies of modules
/root/arisu/src/commands/Community/testeadd.js:7
const [rows] = await conn.execute(query);
^^^^^
SyntaxError: await is only valid in async functions and the top level bodies of modules
at internalCompileFunction (node:internal/vm:73:18)
at wrapSafe (node:internal/modules/cjs/loader:1274:20)
at Module._compile (node:internal/modules/cjs/loader:1320:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at loadCommand (/root/arisu/src/functions/handlers/handleCommands.js:77:25)
at FSWatcher.<anonymous> (/root/arisu/src/functions/handlers/handleCommands.js:263:13)

View File

@ -1,16 +0,0 @@
SyntaxError: await is only valid in async functions and the top level bodies of modules
/root/arisu/src/commands/Community/testeadd.js:7
const [rows] = await conn.execute(query);
^^^^^
SyntaxError: await is only valid in async functions and the top level bodies of modules
at internalCompileFunction (node:internal/vm:73:18)
at wrapSafe (node:internal/modules/cjs/loader:1274:20)
at Module._compile (node:internal/modules/cjs/loader:1320:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at loadCommand (/root/arisu/src/functions/handlers/handleCommands.js:77:25)
at loadCommands (/root/arisu/src/functions/handlers/handleCommands.js:102:25)

View File

@ -1,12 +0,0 @@
TypeError: object is not iterable (cannot read property Symbol(Symbol.iterator))
TypeError: object is not iterable (cannot read property Symbol(Symbol.iterator))
at getChoicesFromDatabase (/root/arisu/src/commands/Community/testeadd.js:7:20)
at Object.<anonymous> (/root/arisu/src/commands/Community/testeadd.js:14:17)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at loadCommand (/root/arisu/src/functions/handlers/handleCommands.js:77:25)
at FSWatcher.<anonymous> (/root/arisu/src/functions/handlers/handleCommands.js:263:13)

View File

@ -1,12 +0,0 @@
TypeError: object is not iterable (cannot read property Symbol(Symbol.iterator))
TypeError: object is not iterable (cannot read property Symbol(Symbol.iterator))
at getChoicesFromDatabase (/root/arisu/src/commands/Community/testeadd.js:7:20)
at Object.<anonymous> (/root/arisu/src/commands/Community/testeadd.js:14:17)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at loadCommand (/root/arisu/src/functions/handlers/handleCommands.js:77:25)
at loadCommands (/root/arisu/src/functions/handlers/handleCommands.js:102:25)

View File

@ -1,16 +0,0 @@
SyntaxError: await is only valid in async functions and the top level bodies of modules
/root/arisu/src/commands/Community/testeadd.js:14
const choices = await getChoicesFromDatabase();
^^^^^
SyntaxError: await is only valid in async functions and the top level bodies of modules
at internalCompileFunction (node:internal/vm:73:18)
at wrapSafe (node:internal/modules/cjs/loader:1274:20)
at Module._compile (node:internal/modules/cjs/loader:1320:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at loadCommand (/root/arisu/src/functions/handlers/handleCommands.js:77:25)
at FSWatcher.<anonymous> (/root/arisu/src/functions/handlers/handleCommands.js:263:13)

View File

@ -1,16 +0,0 @@
SyntaxError: await is only valid in async functions and the top level bodies of modules
/root/arisu/src/commands/Community/testeadd.js:14
const choices = await getChoicesFromDatabase();
^^^^^
SyntaxError: await is only valid in async functions and the top level bodies of modules
at internalCompileFunction (node:internal/vm:73:18)
at wrapSafe (node:internal/modules/cjs/loader:1274:20)
at Module._compile (node:internal/modules/cjs/loader:1320:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at loadCommand (/root/arisu/src/functions/handlers/handleCommands.js:77:25)
at loadCommands (/root/arisu/src/functions/handlers/handleCommands.js:102:25)

View File

@ -1,16 +0,0 @@
SyntaxError: await is only valid in async functions and the top level bodies of modules
/root/arisu/src/commands/Community/testeadd.js:14
const choices = await getChoicesFromDatabase();
^^^^^
SyntaxError: await is only valid in async functions and the top level bodies of modules
at internalCompileFunction (node:internal/vm:73:18)
at wrapSafe (node:internal/modules/cjs/loader:1274:20)
at Module._compile (node:internal/modules/cjs/loader:1320:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at loadCommand (/root/arisu/src/functions/handlers/handleCommands.js:77:25)
at FSWatcher.<anonymous> (/root/arisu/src/functions/handlers/handleCommands.js:263:13)

View File

@ -1,16 +0,0 @@
SyntaxError: await is only valid in async functions and the top level bodies of modules
/root/arisu/src/commands/Community/testeadd.js:14
const choices = await getChoicesFromDatabase();
^^^^^
SyntaxError: await is only valid in async functions and the top level bodies of modules
at internalCompileFunction (node:internal/vm:73:18)
at wrapSafe (node:internal/modules/cjs/loader:1274:20)
at Module._compile (node:internal/modules/cjs/loader:1320:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at loadCommand (/root/arisu/src/functions/handlers/handleCommands.js:77:25)
at loadCommands (/root/arisu/src/functions/handlers/handleCommands.js:102:25)

View File

@ -1,2 +0,0 @@
undefined: undefined
undefined

View File

@ -1,2 +0,0 @@
undefined: undefined
undefined

View File

@ -1,16 +0,0 @@
SyntaxError: await is only valid in async functions and the top level bodies of modules
/root/arisu/src/commands/Community/testeadd.js:6
const [rows] = await conn.execute(query);
^^^^^
SyntaxError: await is only valid in async functions and the top level bodies of modules
at internalCompileFunction (node:internal/vm:73:18)
at wrapSafe (node:internal/modules/cjs/loader:1274:20)
at Module._compile (node:internal/modules/cjs/loader:1320:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at loadCommand (/root/arisu/src/functions/handlers/handleCommands.js:77:25)
at FSWatcher.<anonymous> (/root/arisu/src/functions/handlers/handleCommands.js:263:13)

View File

@ -1,12 +0,0 @@
TypeError: rows.map is not a function
TypeError: rows.map is not a function
at getChoicesFromDatabase (/root/arisu/src/commands/Community/testeadd.js:16:26)
at /root/arisu/src/commands/Community/testeadd.js:40:32
at MixedClass._sharedAddOptionMethod (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2439:50)
at MixedClass.addStringOption (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2411:17)
at Object.<anonymous> (/root/arisu/src/commands/Community/testeadd.js:35:10)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)

View File

@ -1,12 +0,0 @@
TypeError: rows.map is not a function
TypeError: rows.map is not a function
at getChoicesFromDatabase (/root/arisu/src/commands/Community/testeadd.js:16:26)
at /root/arisu/src/commands/Community/testeadd.js:40:32
at MixedClass._sharedAddOptionMethod (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2439:50)
at MixedClass.addStringOption (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2411:17)
at Object.<anonymous> (/root/arisu/src/commands/Community/testeadd.js:35:10)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)

View File

@ -1,12 +0,0 @@
TypeError: rows.map is not a function
TypeError: rows.map is not a function
at getChoicesFromDatabase (/root/arisu/src/commands/Community/testeadd.js:16:26)
at /root/arisu/src/commands/Community/testeadd.js:40:32
at MixedClass._sharedAddOptionMethod (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2439:50)
at MixedClass.addStringOption (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2411:17)
at Object.<anonymous> (/root/arisu/src/commands/Community/testeadd.js:35:10)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)

View File

@ -1,12 +0,0 @@
TypeError: rows.map is not a function
TypeError: rows.map is not a function
at getChoicesFromDatabase (/root/arisu/src/commands/Community/testeadd.js:16:26)
at /root/arisu/src/commands/Community/testeadd.js:40:32
at MixedClass._sharedAddOptionMethod (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2439:50)
at MixedClass.addStringOption (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2411:17)
at Object.<anonymous> (/root/arisu/src/commands/Community/testeadd.js:35:10)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)

View File

@ -1,12 +0,0 @@
TypeError: rows.map is not a function
TypeError: rows.map is not a function
at getChoicesFromDatabase (/root/arisu/src/commands/Community/testeadd.js:16:26)
at /root/arisu/src/commands/Community/testeadd.js:42:32
at MixedClass._sharedAddOptionMethod (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2439:50)
at MixedClass.addStringOption (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2411:17)
at Object.<anonymous> (/root/arisu/src/commands/Community/testeadd.js:37:10)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)

View File

@ -1,12 +0,0 @@
TypeError: rows.map is not a function
TypeError: rows.map is not a function
at getChoicesFromDatabase (/root/arisu/src/commands/Community/testeadd.js:16:26)
at /root/arisu/src/commands/Community/testeadd.js:42:32
at MixedClass._sharedAddOptionMethod (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2439:50)
at MixedClass.addStringOption (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2411:17)
at Object.<anonymous> (/root/arisu/src/commands/Community/testeadd.js:37:10)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)

View File

@ -1,12 +0,0 @@
ReferenceError: choices is not defined
ReferenceError: choices is not defined
at getChoicesFromDatabase (/root/arisu/src/commands/Community/testeadd.js:34:5)
at /root/arisu/src/commands/Community/testeadd.js:47:32
at MixedClass._sharedAddOptionMethod (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2439:50)
at MixedClass.addStringOption (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2411:17)
at Object.<anonymous> (/root/arisu/src/commands/Community/testeadd.js:42:10)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)

View File

@ -1,12 +0,0 @@
ReferenceError: choices is not defined
ReferenceError: choices is not defined
at getChoicesFromDatabase (/root/arisu/src/commands/Community/testeadd.js:34:5)
at /root/arisu/src/commands/Community/testeadd.js:47:32
at MixedClass._sharedAddOptionMethod (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2439:50)
at MixedClass.addStringOption (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2411:17)
at Object.<anonymous> (/root/arisu/src/commands/Community/testeadd.js:42:10)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)

View File

@ -1,12 +0,0 @@
TypeError: Found non-callable @@iterator
TypeError: Found non-callable @@iterator
at /root/arisu/src/commands/Community/testeadd.js:47:18
at MixedClass._sharedAddOptionMethod (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2439:50)
at MixedClass.addStringOption (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2411:17)
at Object.<anonymous> (/root/arisu/src/commands/Community/testeadd.js:42:10)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)

View File

@ -1,12 +0,0 @@
TypeError: Found non-callable @@iterator
TypeError: Found non-callable @@iterator
at /root/arisu/src/commands/Community/testeadd.js:47:18
at MixedClass._sharedAddOptionMethod (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2439:50)
at MixedClass.addStringOption (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2411:17)
at Object.<anonymous> (/root/arisu/src/commands/Community/testeadd.js:42:10)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)

View File

@ -1,12 +0,0 @@
TypeError: Found non-callable @@iterator
TypeError: Found non-callable @@iterator
at /root/arisu/src/commands/Community/testeadd.js:48:18
at MixedClass._sharedAddOptionMethod (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2439:50)
at MixedClass.addStringOption (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2411:17)
at Object.<anonymous> (/root/arisu/src/commands/Community/testeadd.js:43:10)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)

View File

@ -1,12 +0,0 @@
TypeError: Found non-callable @@iterator
TypeError: Found non-callable @@iterator
at /root/arisu/src/commands/Community/testeadd.js:48:18
at MixedClass._sharedAddOptionMethod (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2439:50)
at MixedClass.addStringOption (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2411:17)
at Object.<anonymous> (/root/arisu/src/commands/Community/testeadd.js:43:10)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)

View File

@ -1,12 +0,0 @@
ReferenceError: choices is not defined
ReferenceError: choices is not defined
at getChoicesFromDatabase (/root/arisu/src/commands/Community/testeadd.js:34:5)
at /root/arisu/src/commands/Community/testeadd.js:47:32
at MixedClass._sharedAddOptionMethod (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2439:50)
at MixedClass.addStringOption (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2411:17)
at Object.<anonymous> (/root/arisu/src/commands/Community/testeadd.js:42:10)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)

View File

@ -1,12 +0,0 @@
ReferenceError: choices is not defined
ReferenceError: choices is not defined
at getChoicesFromDatabase (/root/arisu/src/commands/Community/testeadd.js:34:5)
at /root/arisu/src/commands/Community/testeadd.js:47:32
at MixedClass._sharedAddOptionMethod (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2439:50)
at MixedClass.addStringOption (/root/arisu/node_modules/@discordjs/builders/dist/index.js:2411:17)
at Object.<anonymous> (/root/arisu/src/commands/Community/testeadd.js:42:10)
at Module._compile (node:internal/modules/cjs/loader:1356:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)

View File

@ -1,2 +0,0 @@
undefined: undefined
undefined

View File

@ -1,2 +0,0 @@
undefined: undefined
undefined

View File

@ -1,2 +0,0 @@
undefined: undefined
undefined

View File

@ -1,2 +0,0 @@
undefined: undefined
undefined

View File

@ -1,2 +0,0 @@
undefined: undefined
undefined

View File

@ -1,2 +0,0 @@
undefined: undefined
undefined

View File

@ -1,2 +0,0 @@
undefined: undefined
undefined

View File

@ -1,2 +0,0 @@
undefined: undefined
undefined

View File

@ -1,2 +0,0 @@
undefined: undefined
undefined

View File

@ -1,2 +0,0 @@
undefined: undefined
undefined

View File

@ -1,2 +0,0 @@
undefined: undefined
undefined

View File

@ -1,16 +0,0 @@
SyntaxError: Unexpected identifier
/root/arisu/src/commands/Community/testeadd.js:27
O que muda
^^^
SyntaxError: Unexpected identifier
at internalCompileFunction (node:internal/vm:73:18)
at wrapSafe (node:internal/modules/cjs/loader:1274:20)
at Module._compile (node:internal/modules/cjs/loader:1320:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at loadCommand (/root/arisu/src/functions/handlers/handleCommands.js:77:25)
at FSWatcher.<anonymous> (/root/arisu/src/functions/handlers/handleCommands.js:263:13)

View File

@ -1,16 +0,0 @@
SyntaxError: Unexpected identifier
/root/arisu/src/commands/Community/testeadd.js:27
O que muda
^^^
SyntaxError: Unexpected identifier
at internalCompileFunction (node:internal/vm:73:18)
at wrapSafe (node:internal/modules/cjs/loader:1274:20)
at Module._compile (node:internal/modules/cjs/loader:1320:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
at Module.load (node:internal/modules/cjs/loader:1197:32)
at Module._load (node:internal/modules/cjs/loader:1013:12)
at Module.require (node:internal/modules/cjs/loader:1225:19)
at require (node:internal/modules/helpers:177:18)
at loadCommand (/root/arisu/src/functions/handlers/handleCommands.js:77:25)
at loadCommands (/root/arisu/src/functions/handlers/handleCommands.js:102:25)

View File

@ -1,2 +0,0 @@
undefined: undefined
undefined

View File

@ -1,2 +0,0 @@
undefined: undefined
undefined

View File

@ -10,6 +10,7 @@ module.exports = {
if (interaction.isAutocomplete()) {
const focusedValue = interaction.options.getFocused();
console.log(focusedValue);
if (interaction.commandName === 'wdd') {
try {
const [rows] = await conn.execute(