mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-12-27 17:28:23 +01:00
Clarify what "award" means and change "Webhook" -> "Bot" in webhookFormat
This commit is contained in:
parent
cd9d8047c0
commit
b69f1de11e
@ -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)
|
||||
|
@ -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 = "[ᛩF2Discord&r] [hover:show_text:Webhook message]%user_name%&r » %message%%message_attachments%";
|
||||
public String webhookFormat = "[ᛩF2Discord&r] [hover:show_text:Bot message]%user_name%&r » %message%%message_attachments%";
|
||||
|
||||
@Comment("Attachment format")
|
||||
@Untranslated(Untranslated.Type.VALUE)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user