refactor naming

This commit is contained in:
2025-07-17 21:59:15 +02:00
parent d51e48407a
commit 430f5cd429
2 changed files with 2 additions and 2 deletions
@@ -2,7 +2,7 @@ package me.youhavetrouble.inviter.discord;
public record GuildSettings( public record GuildSettings(
long guildId, long guildId,
boolean apiEnabled boolean invitesEnabled
) { ) {
} }
@@ -48,7 +48,7 @@ public class ApiStatusChangeCommand extends Command {
if (statusMapping == null) { if (statusMapping == null) {
GuildSettings setings = Main.getStorage().getGuildSettings(guild.getIdLong()); GuildSettings setings = Main.getStorage().getGuildSettings(guild.getIdLong());
String message = setings.apiEnabled() ? String message = setings.invitesEnabled() ?
"Inviter is currently __**enabled**__ for this server." : "Inviter is currently __**enabled**__ for this server." :
"Inviter is currently __**disabled**__ for this server."; "Inviter is currently __**disabled**__ for this server.";