Skip to content

Commit

Permalink
Replace implementation references in GuildAction (#2422)
Browse files Browse the repository at this point in the history
  • Loading branch information
freya022 authored Mar 19, 2023
1 parent 7bdef70 commit becd9e2
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import net.dv8tion.jda.api.requests.RestAction;
import net.dv8tion.jda.api.utils.data.DataObject;
import net.dv8tion.jda.api.utils.data.SerializableData;
import net.dv8tion.jda.internal.requests.restaction.GuildActionImpl;
import net.dv8tion.jda.internal.requests.restaction.PermOverrideData;
import net.dv8tion.jda.internal.utils.Checks;

Expand Down Expand Up @@ -645,7 +644,7 @@ public ChannelData setPosition(@Nullable Integer position)
* @return This ChannelData instance for chaining convenience
*/
@Nonnull
public ChannelData addPermissionOverride(@Nonnull GuildActionImpl.RoleData role, long allow, long deny)
public ChannelData addPermissionOverride(@Nonnull GuildAction.RoleData role, long allow, long deny)
{
Checks.notNull(role, "Role");
this.overrides.add(new PermOverrideData(PermOverrideData.ROLE_TYPE, role.id, allow, deny));
Expand Down Expand Up @@ -673,7 +672,7 @@ public ChannelData addPermissionOverride(@Nonnull GuildActionImpl.RoleData role,
* @return This ChannelData instance for chaining convenience
*/
@Nonnull
public ChannelData addPermissionOverride(@Nonnull GuildActionImpl.RoleData role, @Nullable Collection<Permission> allow, @Nullable Collection<Permission> deny)
public ChannelData addPermissionOverride(@Nonnull GuildAction.RoleData role, @Nullable Collection<Permission> allow, @Nullable Collection<Permission> deny)
{
long allowRaw = 0;
long denyRaw = 0;
Expand Down

0 comments on commit becd9e2

Please sign in to comment.