Chrissy
Explore posts from serversPPrisma
•Created by Chrissy on 8/10/2024 in #help-and-questions
Prisma-to-sql
not what i want tbh
What i could build is a custom function, which first does the where and then again the filter function to then again get use findMany
But tbh that's not good, if i could write raw sql code instead
4 replies
DIAdiscord.js - Imagine an app
•Created by Chrissy on 6/29/2024 in #djs-questions
discord.js polls seem to not work
7 replies
DIAdiscord.js - Imagine an app
•Created by Chrissy on 6/29/2024 in #djs-questions
discord.js polls seem to not work
great
7 replies
DIAdiscord.js - Imagine an app
•Created by Chrissy on 6/29/2024 in #djs-questions
discord.js polls seem to not work
when will it be merged/released?
7 replies
DIAdiscord.js - Imagine an app
•Created by Chrissy on 6/29/2024 in #djs-questions
discord.js polls seem to not work
cool, thanks
7 replies
DIAdiscord.js - Imagine an app
•Created by Chrissy on 6/25/2024 in #djs-questions
Weird behaviour from pins, caused by discord.js
reinstalling discord.js fixed it lol
13 replies
DIAdiscord.js - Imagine an app
•Created by Chrissy on 6/25/2024 in #djs-questions
Weird behaviour from pins, caused by discord.js
so when you pin a message for you the messageUpdate event triggers?
13 replies
DIAdiscord.js - Imagine an app
•Created by Chrissy on 6/25/2024 in #djs-questions
Weird behaviour from pins, caused by discord.js
13 replies
DIAdiscord.js - Imagine an app
•Created by Chrissy on 6/25/2024 in #djs-questions
Weird behaviour from pins, caused by discord.js
13 replies
DIAdiscord.js - Imagine an app
•Created by Chrissy on 6/25/2024 in #djs-questions
Weird behaviour from pins, caused by discord.js
debug it:
on pin the messageUpdate never fires, but it's inside the raw event
13 replies
DIAdiscord.js - Imagine an app
•Created by Chrissy on 6/25/2024 in #djs-questions
Weird behaviour from pins, caused by discord.js
But it could also be acomplished by triggering messageUpdate
13 replies
DIAdiscord.js - Imagine an app
•Created by Chrissy on 6/25/2024 in #djs-questions
Weird behaviour from pins, caused by discord.js
the message also get's automatically added to the cache, even when i clear it, but the event doesn't trigger
therefore i managed to create such a tool, to find the message that got pinned via channelPinsUpdate event.
(a fetch is never required)
13 replies
DIAdiscord.js - Imagine an app
•Created by Chrissy on 6/25/2024 in #djs-questions
Weird behaviour from pins, caused by discord.js
i have partials enabled, it's for both partial and not partial messages
13 replies
DIAdiscord.js - Imagine an app
•Created by awdev_ on 4/2/2024 in #djs-questions
Embed and console desync
it could be that roles.members is not valid
I'd recommend to call the updateMembersRoles Function through the interaction and get the members like that:
// for every role:
guild.members.cache. filter(member => member.roles.cache.has(roleId).map(member => member.toString());
17 replies
DIAdiscord.js - Imagine an app
•Created by awdev_ on 4/2/2024 in #djs-questions
Embed and console desync
Wait does the embed just not update or the roles not?
17 replies
DIAdiscord.js - Imagine an app
•Created by awdev_ on 4/2/2024 in #djs-questions
Embed and console desync
add logs to your if statement:
`
17 replies