ItIzYe
ItIzYe
DIAdiscord.js - Imagine an app
Created by ItIzYe on 2/17/2024 in #djs-questions
discord.js not working on raspberri pi
but it comes when i try installing discord.js
9 replies
DIAdiscord.js - Imagine an app
Created by ItIzYe on 2/17/2024 in #djs-questions
discord.js not working on raspberri pi
or how to solve the error
9 replies
DIAdiscord.js - Imagine an app
Created by ItIzYe on 2/17/2024 in #djs-questions
discord.js not working on raspberri pi
yes, this gets printed, unfortunately i can't really make out what the error is exactely
9 replies
DIAdiscord.js - Imagine an app
Created by ItIzYe on 5/9/2023 in #djs-questions
GatewayIntentBits seen as index.js property
this is the whole output
77 replies
DIAdiscord.js - Imagine an app
Created by ItIzYe on 5/9/2023 in #djs-questions
GatewayIntentBits seen as index.js property
no not anymore, but one of the errors gets triggered bythe help command
throw er; // Unhandled 'error' event
^

DiscordAPIError[10062]: Unknown interaction
throw er; // Unhandled 'error' event
^

DiscordAPIError[10062]: Unknown interaction
i think I also mentioned it earlier in the thread
77 replies
DIAdiscord.js - Imagine an app
Created by ItIzYe on 5/9/2023 in #djs-questions
GatewayIntentBits seen as index.js property
Its basically the handler from the discord.js guide
77 replies
DIAdiscord.js - Imagine an app
Created by ItIzYe on 5/9/2023 in #djs-questions
GatewayIntentBits seen as index.js property
77 replies
DIAdiscord.js - Imagine an app
Created by ItIzYe on 5/9/2023 in #djs-questions
GatewayIntentBits seen as index.js property
No only for the help command as its the only one im testing rn
77 replies
DIAdiscord.js - Imagine an app
Created by ItIzYe on 5/9/2023 in #djs-questions
GatewayIntentBits seen as index.js property
But it doesn’t work either when i use
module.exports = {
data: new SlashCommandBuilder()
module.exports = {
data: new SlashCommandBuilder()
And so on
77 replies
DIAdiscord.js - Imagine an app
Created by ItIzYe on 5/9/2023 in #djs-questions
GatewayIntentBits seen as index.js property
module.exports = {
name: 'help',
description: 'Help Commands',
async execute (message, args) {
module.exports = {
name: 'help',
description: 'Help Commands',
async execute (message, args) {
that's how I export the commands
77 replies
DIAdiscord.js - Imagine an app
Created by ItIzYe on 5/9/2023 in #djs-questions
GatewayIntentBits seen as index.js property
yes with module.export
77 replies
DIAdiscord.js - Imagine an app
Created by ItIzYe on 5/9/2023 in #djs-questions
GatewayIntentBits seen as index.js property
okay, i took the command handler form the discord.js guide and this are the errors:
[WARNING] The command at C:\Users\user\OneDrive\Dokumente\Drippy.JS\src\commands\utility\help.js is missing a required "data" or "execute" property.
[WARNING] The command at C:\Users\user\OneDrive\Dokumente\Drippy.JS\src\commands\utility\help.js is missing a required "data" or "execute" property.
throw er; // Unhandled 'error' event
^

DiscordAPIError[10062]: Unknown interaction
throw er; // Unhandled 'error' event
^

DiscordAPIError[10062]: Unknown interaction
but i have data and execute in my help.js file :/
77 replies
DIAdiscord.js - Imagine an app
Created by ItIzYe on 5/9/2023 in #djs-questions
GatewayIntentBits seen as index.js property
throw er; // Unhandled 'error' event
^

TypeError: Cannot read properties of undefined (reading 'execute')
throw er; // Unhandled 'error' event
^

TypeError: Cannot read properties of undefined (reading 'execute')
seems like this is the problem
77 replies
DIAdiscord.js - Imagine an app
Created by ItIzYe on 5/9/2023 in #djs-questions
GatewayIntentBits seen as index.js property
yeah i put a log between the Event and the statement. Event gets triggered
77 replies
DIAdiscord.js - Imagine an app
Created by ItIzYe on 5/9/2023 in #djs-questions
GatewayIntentBits seen as index.js property
Both don't send, slash commands might be bc they're not updated by now, but the messageCreate should be up do date as far as i'm concerned
77 replies
DIAdiscord.js - Imagine an app
Created by ItIzYe on 5/9/2023 in #djs-questions
GatewayIntentBits seen as index.js property
77 replies
DIAdiscord.js - Imagine an app
Created by ItIzYe on 5/9/2023 in #djs-questions
GatewayIntentBits seen as index.js property
i can, it's pretty long though
77 replies
DIAdiscord.js - Imagine an app
Created by ItIzYe on 5/9/2023 in #djs-questions
GatewayIntentBits seen as index.js property
still no syntax error as before
77 replies
DIAdiscord.js - Imagine an app
Created by ItIzYe on 5/9/2023 in #djs-questions
GatewayIntentBits seen as index.js property
Yeah did this with VCS, shows me right syntax now but somehow still doesn't send messages
77 replies
DIAdiscord.js - Imagine an app
Created by ItIzYe on 5/9/2023 in #djs-questions
GatewayIntentBits seen as index.js property
yes, and i reinstalled discord.js
77 replies