driedfxrn
SIASapphire - Imagine a framework
•Created by driedfxrn on 3/31/2024 in #discordjs-support
role not being given
logs saying they were removed, but they weren't
3 replies
SIASapphire - Imagine a framework
•Created by driedfxrn on 3/30/2024 in #discordjs-support
Slash Command Error
node:events:492
throw er; // Unhandled 'error' event
^
TypeError: interaction.isChatInputCommand is not a function
at Object.execute (C:\Users\LoneDeveloper\Documents\Bots\events\interactionCreate.js:13:26)
at Client.<anonymous> (C:\Users\LoneDeveloper\Documents\Bots\index.js:24:50)
at Client.emit (node:events:514:28)
at InteractionCreateAction.handle (C:\Users\LoneDeveloper\Documents\Bots\node_modules\discord.js\src\client\actions\InteractionCreate.js:97:12)
at module.exports [as INTERACTION_CREATE] (C:\Users\LoneDeveloper\Documents\Bots\node_modules\discord.js\src\client\websocket\handlers\INTERACTION_CREATE.js:4:36)
at WebSocketManager.handlePacket (C:\Users\LoneDeveloper\Documents\Bots\node_modules\discord.js\src\client\websocket\WebSocketManager.js:355:31)
at WebSocketManager.<anonymous> (C:\Users\LoneDeveloper\Documents\Bots\node_modules\discord.js\src\client\websocket\WebSocketManager.js:239:12)
at WebSocketManager.emit (C:\Users\LoneDeveloper\Documents\Bots\node
_modules\@vladfrangu\async_event_emitter\dist\index.cjs:282:31)
at WebSocketShard.<anonymous> (C:\Users\LoneDeveloper\Documents\Bots\node_modules\@discordjs\ws\dist\index.js:1173:51)
at WebSocketShard.emit (C:\Users\LoneDeveloper\Documents\Bots\node_modules\@vladfrangu\async_event_emitter\dist\index.cjs:282:31)
Emitted 'error' event on Client instance at:
at emitUnhandledRejectionOrErr (node:events:397:10)
at process.processTicksAndRejections (node:internal/process/task_queues:84:21)
Node.js v20.5.1
21 replies
SIASapphire - Imagine a framework
•Created by driedfxrn on 3/28/2024 in #sapphire-support
Javascript
Alright guys, quick question if i am new to javascript (i want to learn typescript by the way.) and discord developement in general. Where should i start from, and what do i need to learn?
67 replies