Skip to content

Commit

Permalink
Update getTextChannel -> getChannel (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
JayMaro authored Apr 22, 2024
1 parent 08264c2 commit 32daba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/introduction/jda.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ If you have any suggestions/questions/feedback for this wiki, please visit the #
else
{
System.out.printf("[%s][%s] %s: %s\n", event.getGuild().getName(),
event.getTextChannel().getName(), event.getMember().getEffectiveName(),
event.getChannel().getName(), event.getMember().getEffectiveName(),
event.getMessage().getContentDisplay());
}
}
Expand Down

0 comments on commit 32daba3

Please sign in to comment.