doqe
Explore posts from serversSIASapphire - Imagine a framework
•Created by doqe on 7/17/2024 in #sapphire-support
how would i know if a certain precondition is in a command?
i didnt rly find any function/feature for checking for a precondition
5 replies
SIASapphire - Imagine a framework
•Created by doqe on 4/8/2024 in #sapphire-support
create a command that has spaces as one arg
for example, i would want a command with multiple spaces for each arg, such as
!command <argwithspaces1> <argwithspaces2>
, or even using seperators like |
i just dont know where to start or if its even possible at all ( i tried using args.repeat and args.nextMaybe but that didnt work at all )14 replies
SIASapphire - Imagine a framework
•Created by doqe on 2/25/2024 in #sapphire-support
making a !help command. where do i get the commands from?
im trying to make a help command since I've started learning about paginated messages, but where would I get these commands from?
4 replies
SIASapphire - Imagine a framework
•Created by doqe on 1/20/2024 in #sapphire-support
Would there be a way to make a command list?
How would I make a command list, for example you would use !help (or !help <commandName>)
(example message)
Commands!help
- Gets all the commands (the one you just used)!commandName
- Command Description!otherCommand
- Other Description
7 replies
SIASapphire - Imagine a framework
•Created by doqe on 1/3/2024 in #sapphire-support
[ARGS] this.error errors in the console
4 replies
SIASapphire - Imagine a framework
•Created by doqe on 1/3/2024 in #sapphire-support
Class constructor _Listener cannot be invoked without 'new'
11 replies
DIAdiscord.js - Imagine an app
•Created by doqe on 12/3/2023 in #djs-questions
Channel is not in cache when button interaction is used.
I tried making a button that would delete the message when clicked, but this error showed up:
The Error
The Code
The Version
7 replies
DIAdiscord.js - Imagine an app
•Created by doqe on 8/2/2023 in #djs-questions
[TS] message member is possibly null
12 replies
DIAdiscord.js - Imagine an app
•Created by doqe on 8/1/2023 in #djs-questions
[TS] how come .send doesn't exist?
dont mind that the string fields are asdsda, the only error im getting as of now is that channel.send does not exist at all
npm v.9.6.7
node v.18.3.0
discord.js v14.11.0
5 replies
DIAdiscord.js - Imagine an app
•Created by doqe on 7/29/2023 in #djs-questions
[TS] Argument of type 'GuildMember | APIInteractionGuildMember | null'
10 replies
DIAdiscord.js - Imagine an app
•Created by doqe on 7/29/2023 in #djs-questions
Property 'cmds' does not exist on type 'Client<boolean>'
9 replies
DIAdiscord.js - Imagine an app
•Created by doqe on 6/9/2023 in #djs-questions
Cannot Edit Interaction
6 replies
DIAdiscord.js - Imagine an app
•Created by doqe on 6/9/2023 in #djs-questions
opt is not defined
7 replies
DIAdiscord.js - Imagine an app
•Created by doqe on 12/23/2022 in #djs-questions
2FA is required, but I don't know how?
16 replies
DIAdiscord.js - Imagine an app
•Created by doqe on 8/13/2022 in #djs-questions
Intents
I plan to give my bot all intents (32767), How do I do that because I used to use
4 replies
DIAdiscord.js - Imagine an app
•Created by doqe on 7/8/2022 in #djs-questions
Slash Commands
Is there any easy way of adding slash commands to my bot?
(I already got a normal command parser but I don't wanna go through making /help commands and I'm pretty interested in modals.)
13 replies