Skip to content

Commit

Permalink
Fix CommandAutoCompleteInteraction#getChannel (#2211)
Browse files Browse the repository at this point in the history
  • Loading branch information
MinnDevelopment authored Aug 10, 2022
1 parent c2e8c5e commit 6d849dd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,10 @@ public AutoCompleteQuery getFocusedOption()

@Nonnull
@Override
@SuppressWarnings("ConstantConditions")
public MessageChannelUnion getChannel()
{
return (MessageChannelUnion) super.getMessageChannel();
return (MessageChannelUnion) super.getChannel();
}

@Override
Expand Down

0 comments on commit 6d849dd

Please sign in to comment.