Skip to content

Commit 3b4185a

Browse files
Change method name
Co-authored-by: Dynxsty <jasonlessenich@gmail.com>
1 parent eca734a commit 3b4185a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/net/javadiscord/javabot/systems/commands/BotInfoCommand.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ private MessageEmbed buildBotInfoEmbed(JDA jda, SlashCommandConfig config) {
3636
.setThumbnail(bot.getEffectiveAvatarUrl())
3737
.setAuthor(bot.getAsTag(), null, bot.getEffectiveAvatarUrl())
3838
.setTitle("Info")
39-
.addField("OS", String.format("```%s```", getOs()), true)
39+
.addField("OS", String.format("```%s```", getOperatingSystem()), true)
4040
.addField("Library", "```JDA```", true)
4141
.addField("JDK", String.format("```%s```", System.getProperty("java.version")), true)
4242
.addField("Gateway Ping", String.format("```%sms```", jda.getGatewayPing()), true)
@@ -45,7 +45,7 @@ private MessageEmbed buildBotInfoEmbed(JDA jda, SlashCommandConfig config) {
4545
.build();
4646
}
4747

48-
private String getOs() {
48+
private String getOperatingSystem() {
4949
String os = System.getProperty("os.name");
5050
if(os.equals("Linux")) {
5151
try {

0 commit comments

Comments
 (0)