#Channel permission syncing

1 messages · Page 1 of 1 (latest)

bold plinth
#

Is there a way to sync channel permissions to a parent category? There doesn't seem to be any documentation on this

stable hinge
#

I don't think there's any exposed method for it in D#+ but you should be able to create an overwrite builder from a channel

bold plinth
#

ah, i wonder what the client does then

#

does it just make them equal?

#

yep thats exactly what it does..

#

guessing the discord api doesnt have a way to mass edit overrides?

#

the only functions i see in dsharpplus are AddOverwrite and DeleteOverwrite, though the client seems to send only one request?

bold plinth
#

deleting all overrides and adding the ones from parent?

#

or can you just call AddOverwrite to override them?

#

oh wait nvm im dumb, just looked at the discord docs, apparently overwrites happen thru just specifyign them on channel modification

#

alright, it really hated that

#

nvm i was passing th wrong channel id 💀