Clarify what "award" means and change "Webhook" -> "Bot" in webhookFormat

This commit is contained in:
Vankka 2023-06-11 14:34:07 +03:00
parent cd9d8047c0
commit b69f1de11e
No known key found for this signature in database
GPG Key ID: 6E50CB7A29B96AD0
3 changed files with 3 additions and 3 deletions

View File

@ -22,12 +22,10 @@ import com.discordsrv.api.discord.entity.message.DiscordMessageEmbed;
import com.discordsrv.api.discord.entity.message.SendableDiscordMessage;
import com.discordsrv.common.config.annotation.Untranslated;
import org.spongepowered.configurate.objectmapping.ConfigSerializable;
import org.spongepowered.configurate.objectmapping.meta.Comment;
@ConfigSerializable
public class AwardMessageConfig implements IMessageConfig {
@Comment("Enable achievement/advancement message forwarding")
public boolean enabled = true;
@Untranslated(Untranslated.Type.VALUE)

View File

@ -38,7 +38,7 @@ public class DiscordToMinecraftChatConfig {
@Comment("The Discord to Minecraft message format for webhook messages (if enabled)")
@Untranslated(Untranslated.Type.VALUE)
public String webhookFormat = "[&#5865F2Discord&r] [hover:show_text:Webhook message]%user_name%&r » %message%%message_attachments%";
public String webhookFormat = "[&#5865F2Discord&r] [hover:show_text:Bot message]%user_name%&r » %message%%message_attachments%";
@Comment("Attachment format")
@Untranslated(Untranslated.Type.VALUE)

View File

@ -23,6 +23,7 @@ import com.discordsrv.common.config.main.channels.AwardMessageConfig;
import com.discordsrv.common.config.main.channels.DeathMessageConfig;
import com.discordsrv.common.config.main.channels.base.BaseChannelConfig;
import org.spongepowered.configurate.objectmapping.ConfigSerializable;
import org.spongepowered.configurate.objectmapping.meta.Comment;
@ConfigSerializable
public class ServerBaseChannelConfig extends BaseChannelConfig {
@ -31,6 +32,7 @@ public class ServerBaseChannelConfig extends BaseChannelConfig {
public ServerJoinMessageConfig joinMessages = new ServerJoinMessageConfig();
@Order(3)
@Comment("Advancement/Achievement message configuration")
public AwardMessageConfig awardMessages = new AwardMessageConfig();
@Order(3)