baotaoh
baotaoh
TTCTheo's Typesafe Cult
Created by baotaoh on 4/14/2023 in #questions
Integrating Discord Authentication and Tracking Voice and Message Activity
Hello everyone, I am currently working on a T3 application, and I have a few specific requirements related to Discord integration. I would like to: Authenticate users via their Discord account using Auth.js, but restrict access to only members of a specific Discord server. Track when a user connects to a voice channel and when they leave it. Count the number of messages posted by each user on the server per day. I have been trying to find the best approach to achieve these goals, but I am unsure how to properly implement them. I would appreciate any guidance or suggestions on how to effectively integrate these features into my application. Thank you in advance for your assistance!
1 replies
TTCTheo's Typesafe Cult
Created by baotaoh on 2/10/2023 in #questions
Deploy app using Nodemailer-express-handlebars + nodemailer to send emails on vercel
ERROR [Error: ENOENT: no such file or directory, open '/var/task/src/mailer/templates/invite.html'] { errno: -2, code: 'ENOENT', syscall: 'open', path: '/var/task/src/mailer/templates/invite.html' this is the error am getting. how do i point it to the correct directory or does this file even exists in the context of this function?
6 replies
TTCTheo's Typesafe Cult
Created by baotaoh on 12/15/2022 in #questions
Audio Recording and Playback.
whats the best way to do this in react? all the libraries i find are old, i have a written a hook that records audio and returns a blob just want to know if there is a better way to do this..
1 replies
TTCTheo's Typesafe Cult
Created by baotaoh on 11/25/2022 in #questions
Plugin system
Hi! i have and idea of a app and am thinking of having a plugin based system i think i have an idea how to do this when if am making all the plugins myself but what am wondering is how do one go about if i want others to also be able to create plugins for my app. Does anyone know of an opensource project that does this or any article or videos that talks about this?
4 replies
TTCTheo's Typesafe Cult
Created by baotaoh on 9/26/2022 in #questions
Project time Estimate
Hi all i am trying to get an estimate of how long it would take to build an app like this. How many hours would you say it would take to build a multi tenant project with 2 api integrations. The app will have 1 superadmin and regular users that can create organisations. all actions are scoped to organisation the owners of orgs or org admin can invite new users to their organisation users can create customers in the org (id verification integration) users can add orders to customers (integration) users can search orders and customers users can add notes to customers superadmin can get overview of all orgs assorted metrics.
29 replies
TTCTheo's Typesafe Cult
Created by baotaoh on 9/24/2022 in #questions
Add props to app.tsx
how do i add props in app.tsx? i am fetching a cookie that contains colorshecme for the app and want to acess the prop in app.tsx.
1 replies