Rednarök
Rednarök
DIAdiscord.js - Imagine an app
Created by Rednarök on 7/8/2023 in #djs-questions
I don't understand...
C:\Users\Torren\Desktop\JS-Bot-Apeture\index.js:27 if ('data' in command && 'execute' in command) { ^ ReferenceError: command is not defined at Object.<anonymous> (C:\Users\Torren\Desktop\JS-Bot-Apeture\index.js:27:19) at Module._compile (node:internal/modules/cjs/loader:1275:14) at Module._extensions..js (node:internal/modules/cjs/loader:1329:10) at Module.load (node:internal/modules/cjs/loader:1133:32) at Module._load (node:internal/modules/cjs/loader:972:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12) at node:internal/main/run_main_module:23:47
21 replies
DIAdiscord.js - Imagine an app
Created by Rednarök on 7/8/2023 in #djs-questions
Error - Following tutorial and BONKERS
PS C:\Users\Torren\Desktop\JS-Bot-Apeture> node deploy-commands.js C:\Users\Torren\Desktop\JS-Bot-Apeture\node_modules@sapphire\shapeshift\dist\index.js:47 throw this.error; ^ ExpectedConstraintError: Invalid string format at Object.run (C:\Users\Torren\Desktop\JS-Bot-Apeture\node_modules@sapphire\shapeshift\dist\index.js:1592:64) at C:\Users\Torren\Desktop\JS-Bot-Apeture\node_modules@sapphire\shapeshift\dist\index.js:212:66 at Array.reduce (<anonymous>) at StringValidator.parse (C:\Users\Torren\Desktop\JS-Bot-Apeture\node_modules@sapphire\shapeshift\dist\index.js:212:29) at validateName (C:\Users\Torren\Desktop\JS-Bot-Apeture\node_modules@discordjs\builders\dist\index.js:1402:17) at MixedClass.setName (C:\Users\Torren\Desktop\JS-Bot-Apeture\node_modules@discordjs\builders\dist\index.js:1499:5) at Object.<anonymous> (C:\Users\Torren\Desktop\JS-Bot-Apeture\commands\Utility\server.js:6:10) at Module._compile (node:internal/modules/cjs/loader:1275:14) at Module.extensions..js (node:internal/modules/cjs/loader:1329:10) at Module.load (node:internal/modules/cjs/loader:1133:32) { constraint: 's.string.regex', given: 'Server', expected: 'expected /^[\p{Ll}\p{Lm}\p{Lo}\p{N}\p{sc=Devanagari}\p{sc=Thai}-]+$/u.test(expected) to be true'
4 replies