Is there an alternative way for Channel.getManager().sync() in JDA 5.0.0? #2147
Answered
by
Tais993
deso85
asked this question in
Questions and Help
-
Hello everyone, I tried to migrate from JDA 4.4.0 to 5.0.0 and managed to get everything to work but a function which is used to sync channels permissions with it's parents category. In 4.4.0 I was able to use this: In 5.0.0 I can't find a function to sync the permissions with another Channel or Category. Is there someone who can help me with that? |
Beta Was this translation helpful? Give feedback.
Answered by
Tais993
Jun 7, 2022
Replies: 1 comment 1 reply
-
textChannel.getManager().sync().queue(); Is the code Are you sure that you're running it on a TextChannel? See the sync method on TextChannelManager |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
deso85
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is the code
Are you sure that you're running it on a TextChannel? See the sync method on TextChannelManager