Help me pls

Code: Error: [WARNING] The command at C:\Users\OE104655\Videos\Eendsmp bot\commands\utility\giveaway.js is missing a required "data" or "execute" property.
8 Replies
d.js toolkit
d.js toolkit9mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by staff
chewie
chewie9mo ago
the warning tells you whats wrong
</JustTheDev>
</JustTheDev>OP9mo ago
yeah but i dont know what the warning means....
chewie
chewie9mo ago
it either doesn't have a data OR execute in this case you named the function run instead of execute
</JustTheDev>
</JustTheDev>OP9mo ago
owh will it work or not?
chewie
chewie9mo ago
is that even code that you wrote
</JustTheDev>
</JustTheDev>OP9mo ago
not fully...
chewie
chewie9mo ago
figured, like I said, you named your function run and not execute so change that
Want results from more Discord servers?
Add your server