File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
application/src/main/java/org/togetherjava/tjbot/features/basic Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 11package org .togetherjava .tjbot .features .basic ;
22
33import net .dv8tion .jda .api .JDA ;
4+ import net .dv8tion .jda .api .entities .Guild ;
45import net .dv8tion .jda .api .entities .Message ;
56import net .dv8tion .jda .api .entities .MessageReaction ;
67import net .dv8tion .jda .api .entities .channel .concrete .TextChannel ;
@@ -114,7 +115,7 @@ private RestAction<Void> markAsProcessed(Message message) {
114115 * @return the board text channel
115116 */
116117 private Optional <TextChannel > findQuoteBoardChannel (JDA jda , long guildId ) {
117- var guild = jda .getGuildById (guildId );
118+ Guild guild = jda .getGuildById (guildId );
118119
119120 if (guild == null ) {
120121 throw new IllegalStateException (
You can’t perform that action at this time.
0 commit comments