f(x) = 1/x
DIAdiscord.js - Imagine an app
•Created by f(x) = 1/x on 4/1/2024 in #djs-questions
command handler
i put it as x and y but it is only registering ban.js and not ping.js
6 replies
DIAdiscord.js - Imagine an app
•Created by f(x) = 1/x on 4/1/2024 in #djs-questions
command handler
what should i write in x and y
6 replies
DIAdiscord.js - Imagine an app
•Created by f(x) = 1/x on 4/1/2024 in #djs-questions
command handler
the error
6 replies
DIAdiscord.js - Imagine an app
•Created by f(x) = 1/x on 4/1/2024 in #djs-questions
bot status
thank you!
6 replies
DIAdiscord.js - Imagine an app
•Created by f(x) = 1/x on 4/1/2024 in #djs-questions
bot status
how ;-;
6 replies
DIAdiscord.js - Imagine an app
•Created by f(x) = 1/x on 4/1/2024 in #djs-questions
null value from slash command option
thanks btw
55 replies
DIAdiscord.js - Imagine an app
•Created by f(x) = 1/x on 4/1/2024 in #djs-questions
null value from slash command option
got it
55 replies
DIAdiscord.js - Imagine an app
•Created by f(x) = 1/x on 4/1/2024 in #djs-questions
null value from slash command option
a physics term ig
55 replies
DIAdiscord.js - Imagine an app
•Created by f(x) = 1/x on 4/1/2024 in #djs-questions
null value from slash command option
Human error is due to carelessness or to the limitations of human ability.
55 replies
DIAdiscord.js - Imagine an app
•Created by f(x) = 1/x on 4/1/2024 in #djs-questions
null value from slash command option
right?
55 replies
DIAdiscord.js - Imagine an app
•Created by f(x) = 1/x on 4/1/2024 in #djs-questions
null value from slash command option
human error
55 replies
DIAdiscord.js - Imagine an app
•Created by f(x) = 1/x on 4/1/2024 in #djs-questions
null value from slash command option
what could be possible problems
55 replies
DIAdiscord.js - Imagine an app
•Created by f(x) = 1/x on 4/1/2024 in #djs-questions
null value from slash command option
i havent faced any prob running 5 yet?
55 replies
DIAdiscord.js - Imagine an app
•Created by f(x) = 1/x on 4/1/2024 in #djs-questions
null value from slash command option
by event listener you meant
right?
55 replies
DIAdiscord.js - Imagine an app
•Created by f(x) = 1/x on 4/1/2024 in #djs-questions
null value from slash command option
which was of a mathematical operation
55 replies
DIAdiscord.js - Imagine an app
•Created by f(x) = 1/x on 4/1/2024 in #djs-questions
null value from slash command option
i didnt close the previous event listener
55 replies
DIAdiscord.js - Imagine an app
•Created by f(x) = 1/x on 4/1/2024 in #djs-questions
null value from slash command option
so basically
55 replies
DIAdiscord.js - Imagine an app
•Created by f(x) = 1/x on 4/1/2024 in #djs-questions
null value from slash command option
wait, gimme a minute i see a problem
55 replies
DIAdiscord.js - Imagine an app
•Created by f(x) = 1/x on 4/1/2024 in #djs-questions
null value from slash command option
[nodemon] 3.1.0
[nodemon] to restart at any time, enter
rs
[nodemon] watching path(s): .
[nodemon] watching extensions: js,mjs,cjs,json
[nodemon] starting node src/index.js
scrodringer is expeimenting.
C:\Users\SWEET HOME\Desktop\BTEP\node_modules@discordjs\rest\dist\index.js:722
throw new DiscordAPIError(data, "code" in data ? data.code : data.error, status, method, url, requestData);
^
DiscordAPIError[10062]: Unknown interaction
at handleErrors (C:\Users\SWEET HOME\Desktop\BTEP\node_modules@discordjs\rest\dist\index.js:722:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async BurstHandler.runRequest (C:\Users\SWEET HOME\Desktop\BTEP\node_modules@discordjs\rest\dist\index.js:826:23)
at async _REST.request (C:\Users\SWEET HOME\Desktop\BTEP\node_modules@discordjs\rest\dist\index.js:1266:22)
at async ChatInputCommandInteraction.reply (C:\Users\SWEET HOME\Desktop\BTEP\node_modules\discord.js\src\structures\interfaces\InteractionResponses.js:111:5) {
requestBody: {
files: [],
json: {
type: 4,
data: {
content: 'The sum is 3',
tts: false,
nonce: undefined,
embeds: undefined,
components: undefined,
username: undefined,
avatar_url: undefined,
allowed_mentions: undefined,
flags: undefined,
message_reference: undefined,
attachments: undefined,
sticker_ids: undefined,
thread_name: undefined
}
}
},
rawError: { message: 'Unknown interaction', code: 10062 },
code: 10062,
status: 404,
method: 'POST',
url: 'liiink'
}
Node.js v20.11.1
[nodemon] app crashed - waiting for file changes before starting...55 replies
DIAdiscord.js - Imagine an app
•Created by f(x) = 1/x on 4/1/2024 in #djs-questions
null value from slash command option
i think i got a diff error after changing .values to .getNumber
55 replies