Module 943457

500 characters · in 46ce8df851f7766c.js, 7303ae910b4f0b5e.js
Dependencies
Required by (2)
Lazily required by (0)none
Lazily requires (0)none
Source Raw
function(t,e,n){n.d(e,{A:()=>s});var i=n(110259),a=n(198982),r=n(499785),l=n(652215);let s={createGuildFromTemplate:async function(t,e,n,s,d){try{return(await r.A.post({url:l.Rsh.GUILDS,body:{name:t,icon:e,channels:n.channels,system_channel_id:n.system_channel_id,roles:n.roles,guild_template_code:n.code,staff_only:!!d||void 0},trackedActionData:{event:i.NetworkActionNames.GUILD_CREATE,properties:{template_name:n.id,is_community_intent:s}},rejectWithError:!1})).body}catch(t){throw new a.LG(t)}}}}