T3 App Router and tRPC Subscriptions - Help/Advice Needed!

Has anyone implemented tRPC subscriptions with the app router? When i try to follow https://github.com/trpc/examples-next-prisma-websockets-starter with t3 app router, using createTRPCContext in the websocket server i get the following error: TypeError: DiscordProvider is not a function Any help would be appreciated!
GitHub
GitHub - trpc/examples-next-prisma-websockets-starter: 🏓 tRPC Next....
🏓 tRPC Next.js WebSocket Starter. Contribute to trpc/examples-next-prisma-websockets-starter development by creating an account on GitHub.
2 Replies
leohxj
leohxj6mo ago
do u fixed this problem? I want to intergrate subscript in t3-oss project too.
Louis
Louis5mo ago
sorry I've not. I'm looking at other options like implementing a websocket server for trpc createWSClient.