Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

169
Views
Is it possible to save a channel permissions in the database?

So I created a "Join to Create" system that creates a voice when a user joins and delete it when they leave. I also created commands that allow them to change channel permissions.

I was wondering if it's possible to save their permissions in the database so when they create another channel, it creates with that same perms. So far I could only do that with channel name.

await channel.overwritePermissions([
    {
      id: user.id,
      allow: ["MANAGE_CHANNELS", "CONNECT"],
    },
    {
      id: member.guild.id,
      deny: ["CONNECT"],
    },
  ]);
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!