Mathias
Mathias
Explore posts from servers
PPrisma
Created by Mathias on 11/19/2024 in #help-and-questions
Concurrent request (Prisma)
If I use an INSERT in a transaction, with Prisma.TransactionIsolationLevel.Serializable, can this solve the problem?
8 replies
PPrisma
Created by Mathias on 11/19/2024 in #help-and-questions
Concurrent request (Prisma)
I don't think the version field can solve the problem.
8 replies
PPrisma
Created by Mathias on 11/19/2024 in #help-and-questions
Concurrent request (Prisma)
Hello @RaphaelEtim Thank you! The problem is that my concurrent request is an insert. I have a findUnique only to check if the answer exists or not.
8 replies
SIASapphire - Imagine a framework
Created by Calypso on 4/20/2024 in #sapphire-support
Registering Context Commands
Oh ok thanks ... I hadn't understood it like that in the code
29 replies
SIASapphire - Imagine a framework
Created by Calypso on 4/20/2024 in #sapphire-support
Registering Context Commands
report message instead Report Message
29 replies
SIASapphire - Imagine a framework
Created by Calypso on 4/20/2024 in #sapphire-support
Registering Context Commands
My command name in the menu is still displayed in lowercase
29 replies
SIASapphire - Imagine a framework
Created by Calypso on 4/20/2024 in #sapphire-support
Registering Context Commands
My code:
export class ReportMessageCommand extends Command {
constructor(context, options) {
super(context, {
...options,
name: "Report Message",
});
}

registerApplicationCommands(registry) {
registry.registerContextMenuCommand(builder =>
builder //
.setName(this.name)
.setType(ApplicationCommandType.Message),
);
}
export class ReportMessageCommand extends Command {
constructor(context, options) {
super(context, {
...options,
name: "Report Message",
});
}

registerApplicationCommands(registry) {
registry.registerContextMenuCommand(builder =>
builder //
.setName(this.name)
.setType(ApplicationCommandType.Message),
);
}
29 replies
SIASapphire - Imagine a framework
Created by Calypso on 4/20/2024 in #sapphire-support
Registering Context Commands
I can't get it to work! Do I need to do anything specific?
29 replies
SIASapphire - Imagine a framework
Created by Mathias on 4/27/2024 in #sapphire-support
Error [UNLOADED_PIECE]: The piece 'ready' does not exist.
(My file name is ready.mjs)
17 replies
SIASapphire - Imagine a framework
Created by Mathias on 12/27/2023 in #sapphire-support
Create WebServer with Plugin API
Thank you!
14 replies
SIASapphire - Imagine a framework
Created by Mathias on 12/27/2023 in #sapphire-support
Create WebServer with Plugin API
OK, that's it. He didn't like port 8080
14 replies
SIASapphire - Imagine a framework
Created by Mathias on 12/27/2023 in #sapphire-support
Create WebServer with Plugin API
My web server is not " open "
14 replies
SIASapphire - Imagine a framework
Created by Mathias on 12/27/2023 in #sapphire-support
Create WebServer with Plugin API
I get ERR_CONNECTION_REFUSED
14 replies
SIASapphire - Imagine a framework
Created by Mathias on 12/27/2023 in #sapphire-support
Create WebServer with Plugin API
Yes I have
14 replies
DIAdiscord.js - Imagine an app
Created by Mathias on 12/25/2023 in #djs-questions
Error format
Wa can know before if the category is full ?
8 replies
DIAdiscord.js - Imagine an app
Created by Mathias on 12/25/2023 in #djs-questions
Error format
But it's strange not to have a clear message for this error. It's not really an Invalid Body
8 replies
DIAdiscord.js - Imagine an app
Created by Mathias on 12/25/2023 in #djs-questions
Error format
The message itself is more complex : Invalid Form Body parent_id[CHANNEL_PARENT_MAX_CHANNELS]: Maximum number of channels in category reached (50)
8 replies
SIASapphire - Imagine a framework
Created by Mathias on 12/25/2023 in #sapphire-support
Any tips for store data in the interaction ?
But thank you for your feedback: it opens up other perspectives for me if I need
13 replies
SIASapphire - Imagine a framework
Created by Mathias on 12/25/2023 in #sapphire-support
Any tips for store data in the interaction ?
Yep, I see! The only problem is that it's hard to read after a while
13 replies
SIASapphire - Imagine a framework
Created by Mathias on 12/25/2023 in #sapphire-support
Any tips for store data in the interaction ?
It's in the same spirit as what I do. For the moment: 1) I create an object with my parameters 2) I add my object to customId using JSON.stringify()
13 replies