entropy
Explore posts from serversDTDrizzle Team
•Created by entropy on 10/11/2024 in #help
Drizzle kit push and migrate don't match typescript schema
hey!!
9 replies
DTDrizzle Team
•Created by entropy on 10/11/2024 in #help
Drizzle kit push and migrate don't match typescript schema
I just realized that.... thanks for catching my extremely dumb mistake tho!
9 replies
DTDrizzle Team
•Created by entropy on 10/11/2024 in #help
Drizzle kit push and migrate don't match typescript schema
I've already tried dropping my table, creating a new docker container on a new volume, and deleting all migrations and none of that worked
9 replies
DTDrizzle Team
•Created by entropy on 10/11/2024 in #help
Drizzle kit push and migrate don't match typescript schema
the weird part is that I can update a column type like number from integer to number and it works fine
9 replies
DIAdiscord.js - Imagine an app
•Created by sproj003 ♿ on 1/17/2024 in #djs-questions
get application commands
Routes
is just a wrapper around all the discord api endpoints. If you hover over the applicationsCommands
method, it will show you what endpoint it wraps for each HTTP method. With that you can read the Discord api documentation for those routes and figure what it returns.
Guild Specific: https://discord.com/developers/docs/interactions/application-commands#get-guild-application-commands
Global: https://discord.com/developers/docs/interactions/application-commands#get-global-application-command11 replies
DIAdiscord.js - Imagine an app
•Created by JoelHCraft on 12/13/2023 in #djs-questions
Embed editting
I believe @polarwolvinny ❄ 🌈 is saying to do something like this:
19 replies
Issue with trpc fetch when trying to pass Clerk auth to context
Uh I mean really depends on what you need but I would say compared to Clerk that next-auth is a bit harder to setup. I found this github really quickly if you want to take a peak at their implementation. Otherwise I would wait for someone more knowledgeable to help out.
https://github.com/solaldunckel/next-13-app-router-with-trpc
53 replies
Issue with trpc fetch when trying to pass Clerk auth to context
They actually have a guide that can help you setup tRPC with Clerk here that I'd recommend following.
https://clerk.com/docs/references/nextjs/trpc
53 replies
Issue with trpc fetch when trying to pass Clerk auth to context
you just need to add your api to your public routes on the Clerk middleware so:
Though if you are following the Clerk docs and use the matcher they have it should prevent your middleware from running on
/trpc
or /api
endpoints
53 replies
DIAdiscord.js - Imagine an app
•Created by Jimmy_DB on 9/5/2023 in #djs-questions
connect two commands
Is that correct?
13 replies
DIAdiscord.js - Imagine an app
•Created by Jimmy_DB on 9/5/2023 in #djs-questions
connect two commands
Based on what you said originally it sounds like you want to be able to generate an image and then generate a video with one command, while preserving the two seprate commands.
13 replies
DIAdiscord.js - Imagine an app
•Created by Jimmy_DB on 9/5/2023 in #djs-questions
connect two commands
So you could create a command that has two args for width and height, which then returns an output of the area.
/area <width> <height>
13 replies
DIAdiscord.js - Imagine an app
•Created by SorNion on 9/4/2023 in #djs-questions
The bot does not read the command although it does appear in the slash bar
62 replies