Skip to content

Commit

Permalink
Fix docs for GenericMessageEvent#getGuild (#2507)
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisOchulor committed Jul 28, 2023
1 parent 5704d5f commit 1a10102
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import net.dv8tion.jda.api.entities.Guild;
import net.dv8tion.jda.api.entities.Message;
import net.dv8tion.jda.api.entities.channel.ChannelType;
import net.dv8tion.jda.api.entities.channel.concrete.TextChannel;
import net.dv8tion.jda.api.entities.channel.concrete.ThreadChannel;
import net.dv8tion.jda.api.entities.channel.middleman.GuildChannel;
import net.dv8tion.jda.api.entities.channel.middleman.MessageChannel;
Expand Down Expand Up @@ -144,7 +143,7 @@ public ChannelType getChannelType()

/**
* The {@link net.dv8tion.jda.api.entities.Guild Guild} the Message was received in.
* <br>If this Message was not received in a {@link TextChannel TextChannel},
* <br>If this Message was not received in a {@link net.dv8tion.jda.api.entities.Guild Guild},
* this will throw an {@link java.lang.IllegalStateException}.
*
* @throws java.lang.IllegalStateException
Expand Down

0 comments on commit 1a10102

Please sign in to comment.