Shaurya
Explore posts from serversDIAdiscord.js - Imagine a bot
•Created by Shaurya on 7/22/2023 in #djs-questions
member permissions to readable format
^14.11.0
and v18.16.0
3 replies
DIAdiscord.js - Imagine a bot
•Created by Shaurya on 7/21/2023 in #djs-questions
slash command type issue
the pick seems to be working well and not breaking other commands, until now I only had commands of type SlashCommandBuilder | SlashCommandSubcommandsOnlyBuilder so didn't need a check, but the userinfo command was none of them and was ommiting subcmd and subcmdGroup
7 replies
DIAdiscord.js - Imagine a bot
•Created by Shaurya on 7/21/2023 in #djs-questions
slash command type issue
yes
7 replies
DIAdiscord.js - Imagine a bot
•Created by Shaurya on 7/21/2023 in #djs-questions
slash command type issue
but I don't wanna define a lot of types there though
7 replies
DIAdiscord.js - Imagine a bot
•Created by Shaurya on 7/21/2023 in #djs-questions
slash command type issue
for now, I did: but I don't think this is the best way to do it, I just want to set it as a SlashCommandBuilder not wanna check if it's subCommandsOnly, or a few things are ommited, etc
7 replies
DIAdiscord.js - Imagine a bot
•Created by Shaurya on 7/21/2023 in #djs-questions
slash command type issue
^14.11.0
and v18.16.0
7 replies
DIAdiscord.js - Imagine a bot
•Created by the on 7/15/2023 in #djs-questions
user undefined
then there's an issue in your params I guess, yeah you can do that ^
39 replies
DIAdiscord.js - Imagine a bot
•Created by the on 7/15/2023 in #djs-questions
user undefined
client.user is undefined, try logging the client and check what's logging
39 replies
DIAdiscord.js - Imagine a bot
•Created by the on 7/15/2023 in #djs-questions
user undefined
@_thethe this is the solution, you can do this
39 replies
DIAdiscord.js - Imagine a bot
•Created by the on 7/15/2023 in #djs-questions
user undefined
what?
39 replies
DIAdiscord.js - Imagine a bot
•Created by the on 7/15/2023 in #djs-questions
user undefined
use optional chaining
39 replies
DIAdiscord.js - Imagine a bot
•Created by the on 7/15/2023 in #djs-questions
user undefined
client.user
is not always available39 replies
DIAdiscord.js - Imagine a bot
•Created by Serial Designation N on 7/14/2023 in #djs-questions
Why do I have my commands twice?
redeploy it properly
17 replies
DIAdiscord.js - Imagine a bot
•Created by Serial Designation N on 7/14/2023 in #djs-questions
Why do I have my commands twice?
by registering it only globally, check guide for it
17 replies
DIAdiscord.js - Imagine a bot
•Created by Serial Designation N on 7/14/2023 in #djs-questions
Why do I have my commands twice?
Because you deploy to both globally and in the guild
17 replies
DIAdiscord.js - Imagine a bot
•Created by Fisban Regner on 7/8/2023 in #djs-questions
Issue adding and removing roles in same command
oh
9 replies
DIAdiscord.js - Imagine a bot
•Created by Fisban Regner on 7/8/2023 in #djs-questions
Issue adding and removing roles in same command
9 replies
DIAdiscord.js - Imagine a bot
•Created by Shaurya on 7/3/2023 in #djs-questions
oldMember and newMember timeout issue
oh, yea, thanks that works
5 replies
DIAdiscord.js - Imagine a bot
•Created by Shaurya on 7/3/2023 in #djs-questions
oldMember and newMember timeout issue
13.16.0
, v18.16.0
5 replies
DIAdiscord.js - Imagine a bot
•Created by spunkir on 6/29/2023 in #djs-questions
Bot crashing when calling custom /suggest command
try removving your custom error logging system, and see what's the actual error
44 replies