Replies: 2 comments
-
tl;dr from server chat with @almostSouji - createOverwrite will make a new entry or set it to whatever's passed, updateOverwrite will make a new entry or edit an existing one to modify only what's passed. That's still... bad, in my opinion. The docs are not clear on this and makes it confusing for users. Could either refactor to one |
Beta Was this translation helpful? Give feedback.
-
Solved this confusion on discord, as we had discussions about this misunderstanding on my part before! The run down is:
|
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
GuildChannel#createOverwrite
andGuildChannel#updateOverwrite
are two methods that do the same thing. Duplicate methods doing the same thing are bad.Describe the ideal solution
Remove one of the methods, or change them to do what their names suggest and only that - create makes a new overwrite, update changes an existing one.
Additional context
This is a breaking change.
Beta Was this translation helpful? Give feedback.
All reactions