David Richey
David Richey
To clarify: there is no `TextChannel#addPermissionOverwrite`. I believe you are looking at `XChannelEditSpec.Builder#addPermissionOverwrite` which, while maybe somewhat confusing, _is_ working properly. The builder is building a _new_ list of overwrites...
Is this a duplicate of #715 ?
Java's definite assignment rules complicate things. You can't reference `listener` within that `event ->` lambda.
You get live updates to data from the gateway. Storing results from rest seems useless because there's 0 guarantee the data is still good.
> I have a separate worker which only has rest-actions to do. But if I need a ChannelData for computing something (e.g. nsfw) Imo, this means your worker does more...
As explained in the issue, I think this is really as simple as ```diff - Possible permissionOverwrites(); + Possible
The main problem with this is it necessitates shipping opus binaries.
The first suggestion is definitely reasonable, and I've implemented it in c99de0b1b03d8583949da484ee9186e0fba20c94. I don't think `addComponent` is a good idea, because where the component goes is arbitrary (i.e., adding it...
That's a good point, let's do that. I definitely think it should respect escaping. On quoting, I think that might be going a bit too far. Who's to say "quoting...
Pattern matching is superior to visitor and will be available in Java soon. I think it's fine to use instanceof or isX(), asX() methods for now.