Bejasc
Explore posts from serversSIASapphire - Imagine a framework
•Created by Bejasc on 11/2/2024 in #sapphire-support
Precondition not running
File name has to match this
The file the precondition was stored in was not named
OwnerOnly
it was named OwnerPrecondition
.
Rename to file OwnerOnly
or vice versa - will resolve the issue.
Sometimes it's the little things5 replies
SIASapphire - Imagine a framework
•Created by Bejasc on 11/2/2024 in #sapphire-support
Precondition not running
:Facepalm:
5 replies
SIASapphire - Imagine a framework
•Created by Bejasc on 7/25/2024 in #sapphire-support
Event before precondition OR access the command via MessageCommandDenied
I know 🙂 We've spoken a few times about this in the past - I'm supporting both and pushing people towards using slash commands. They're definitely easier as a developer, but my community is built from a platform and a time that just does not get along with them.
8 replies
SIASapphire - Imagine a framework
•Created by Bejasc on 7/25/2024 in #sapphire-support
Event before precondition OR access the command via MessageCommandDenied
(More snippets, for context)
8 replies
SIASapphire - Imagine a framework
•Created by Bejasc on 7/25/2024 in #sapphire-support
Event before precondition OR access the command via MessageCommandDenied
I think I found it actually,
PreMessageCommandRun
- though still open to feedback about whether this is the best possible place for it
8 replies
SIASapphire - Imagine a framework
•Created by Bejasc on 7/18/2024 in #sapphire-support
Hide Slash/Context menu commands
thanks 😉
7 replies
SIASapphire - Imagine a framework
•Created by Bejasc on 7/18/2024 in #sapphire-support
Hide Slash/Context menu commands
It's workable, but I wonder if the re-registration of the command when it's re-deployed will knock it back out.
7 replies
SIASapphire - Imagine a framework
•Created by Bejasc on 6/2/2024 in #sapphire-support
Decorator issue
This is my tsconfig, I've been using experimentalDecorators for quite a while, at least 18mo, probably longer (not at pc to check exact)
14 replies
SIASapphire - Imagine a framework
•Created by Bejasc on 6/2/2024 in #sapphire-support
Decorator issue
@Boomeravna As mentioned, I already have this enabled
14 replies
SIASapphire - Imagine a framework
•Created by Bejasc on 6/2/2024 in #sapphire-support
Decorator issue
Also to add, I've also tried clearing out the dist, node modules, and package lock
14 replies
SIASapphire - Imagine a framework
•Created by Bejasc on 6/2/2024 in #sapphire-support
Decorator issue
These errors are only reported when I have the file open that has the decorator error
14 replies
SIASapphire - Imagine a framework
•Created by Bejasc on 6/2/2024 in #sapphire-support
Decorator issue
Works without issue, no error reported
14 replies
SIASapphire - Imagine a framework
•Created by Bejasc on 6/2/2024 in #sapphire-support
Decorator issue
Works without issue,
reports the error
14 replies
SIASapphire - Imagine a framework
•Created by Bejasc on 6/2/2024 in #sapphire-support
Decorator issue
14 replies
SIASapphire - Imagine a framework
•Created by Bejasc on 6/2/2024 in #sapphire-support
Decorator issue
14 replies
SIASapphire - Imagine a framework
•Created by doqe on 4/8/2024 in #sapphire-support
create a command that has spaces as one arg
14 replies
SIASapphire - Imagine a framework
•Created by doqe on 4/8/2024 in #sapphire-support
create a command that has spaces as one arg
You cannot get that from the slash command - it would be returned as
To format the description, I often find myself running message commands that look like this
14 replies
SIASapphire - Imagine a framework
•Created by doqe on 4/8/2024 in #sapphire-support
create a command that has spaces as one arg
This is the best option, but doesn't work for every case.
For example, you can't use newlines or any formatting characters in it. One of my main use cases (and the quotes work totally fine for this) is that you can create a message embed.
14 replies
DIAdiscord.js - Imagine an app
•Created by Bejasc on 3/7/2024 in #djs-questions
member.setNickname or member.roles.add occasionally not working
I'm not sure - I'm definitely not getting anything back in logs that suggests that I am.
These actions in particular are very infrequent.
However, there are several frequent actions like bot sending messages
8 replies
DIAdiscord.js - Imagine an app
•Created by Bejasc on 3/7/2024 in #djs-questions
member.setNickname or member.roles.add occasionally not working
This is a good performance saving measure, I'll look into it thanks.
8 replies