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

125
Views
Apply server template discord.js

Is there a way to let the bot use a template? I know there is a way to create a template Create Server Template discord.js or by doing it by hand. But is there a way to apply a template with a bot? just like this:

message.guild.applyTemplate('TemplateUrl')

message.guild.useTemplate('TemplateUrl')

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Edit Discord.js v13

Yes, it's possible now with <GuildTemplate>.sync().

Syncs this template to the current state of the guild.

Returns: Promise

Initial Answer (Discord.js v12)

Using Discord.js: Not yet.

Using the Discord API: technically Yes

As of now there is no way to apply a server template with a discord.js bot. However there is something interesting mentioned in the Official Discord Devs Docs.

PUT /guilds/{guild.id}/templates/{template.code} Syncs the template to the guild's current state. Requires the MANAGE_GUILD permission. Returns the guild template object on success.

Source: https://discord.com/developers/docs/resources/guild-template#sync-guild-template

Also Discord.js v13 introduction mentions Guild Template API support in the Update Notes/Changes in v13.

GuildTemplate Provides API support for server templates

I am going to adapt this answer once Discord.js v13 has been released.

about 4 years ago · Juan Pablo Isaza Report
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!