Not So Marv
DIAdiscord.js - Imagine an app
•Created by CoderZen on 8/12/2023 in #djs-questions
command.execute is not a function
125 replies
DIAdiscord.js - Imagine an app
•Created by CoderZen on 8/12/2023 in #djs-questions
command.execute is not a function
I know this doesn't pertain to your current error but it will return an error later:
Also remove the first line
const { dir } = require("console");
125 replies
DIAdiscord.js - Imagine an app
•Created by hehebrd !! on 8/12/2023 in #djs-questions
how to this type of advanced help menu
create the menu and overview embed and send it
14 replies
DIAdiscord.js - Imagine an app
•Created by hehebrd !! on 8/12/2023 in #djs-questions
how to this type of advanced help menu
When you select an option, discord reads a menu selection as
[interaction.values]
so
14 replies
DIAdiscord.js - Imagine an app
•Created by hehebrd !! on 8/12/2023 in #djs-questions
how to this type of advanced help menu
So run the help command and send the menu with the overview embed. When you select an option in the menu, you need to edit the original embed with the new embed and resend the menu.
14 replies
DIAdiscord.js - Imagine an app
•Created by hehebrd !! on 8/12/2023 in #djs-questions
how to this type of advanced help menu
To build a StringSelectMenu:
implement a new menu with:
const menu = new StringSelectMenuBuilder()
and make sure you require StringSelectMenuBuilder
from discord.js
Personally, I would have a single help command rather than setting a help argument in each command.
give it a custom_id, placeholder (optional), and options like this
14 replies
DIAdiscord.js - Imagine an app
•Created by xjanex on 7/30/2023 in #djs-questions
how to set my bot status to "watching"
.Watching
22 replies
DIAdiscord.js - Imagine an app
•Created by xjanex on 7/30/2023 in #djs-questions
how to set my bot status to "watching"
How did you define Constants earlier?
22 replies
DIAdiscord.js - Imagine an app
•Created by xjanex on 7/30/2023 in #djs-questions
how to set my bot status to "watching"
^
22 replies
DIAdiscord.js - Imagine an app
•Created by xjanex on 7/30/2023 in #djs-questions
how to set my bot status to "watching"
Show the error?
22 replies
DIAdiscord.js - Imagine an app
•Created by xjanex on 7/30/2023 in #djs-questions
how to set my bot status to "watching"
Discord.ActivityType.Watching
22 replies
DIAdiscord.js - Imagine an app
•Created by Russia on 7/20/2023 in #djs-questions
Bot not coming online
Okay in that case open the project from that folder rather than where you opening it at.
20 replies
DIAdiscord.js - Imagine an app
•Created by Russia on 7/20/2023 in #djs-questions
Bot not coming online
You check it by looking at your file tree and package.json
1)
node .
will run your "main" file as defined in package.json
2) If you have "main": "./index.js"
but you have bot.js
as the file you are trying to run, then you will receive the error of "Invalid main entry" so you would have to specify the correct file to run.
3) To run some diagnostic: use node
followed by the name of the file you are trying to start.20 replies
DIAdiscord.js - Imagine an app
•Created by Kumar on 5/29/2023 in #djs-questions
Display all commands in guild a member has permissions on
Gotcha
22 replies
DIAdiscord.js - Imagine an app
•Created by Kumar on 5/29/2023 in #djs-questions
Display all commands in guild a member has permissions on
No need side carrots too
22 replies
DIAdiscord.js - Imagine an app
•Created by Kumar on 5/29/2023 in #djs-questions
Display all commands in guild a member has permissions on
It is
/:name:id
correct?22 replies
DIAdiscord.js - Imagine an app
•Created by Kumar on 5/29/2023 in #djs-questions
Display all commands in guild a member has permissions on
/Command:12345668901224567890
22 replies
DIAdiscord.js - Imagine an app
•Created by Kumar on 5/29/2023 in #djs-questions
Display all commands in guild a member has permissions on
Clickable commands => click it and it puts it in the message bar to run.
22 replies
DIAdiscord.js - Imagine an app
•Created by Kumar on 5/29/2023 in #djs-questions
Display all commands in guild a member has permissions on
If a member cannot type a command then they cannot use them at all.
22 replies
DIAdiscord.js - Imagine an app
•Created by Kumar on 5/29/2023 in #djs-questions
Display all commands in guild a member has permissions on
Try using c.permissions instead of member.permissions
22 replies