mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 17:07:22 +01:00
remove grpc
This commit is contained in:
parent
a22dacd365
commit
872ebcd5eb
12 changed files with 61 additions and 131 deletions
|
|
@ -0,0 +1,4 @@
|
|||
using MareSynchronos.API.Data.Enum;
|
||||
|
||||
namespace MareSynchronosShared.Utils;
|
||||
public record ClientMessage(MessageSeverity Severity, string Message, string UID);
|
||||
|
|
@ -9,7 +9,7 @@ public class ServicesConfiguration : MareConfigurationBase
|
|||
public ulong? DiscordChannelForReports { get; set; } = null;
|
||||
public ulong? DiscordChannelForCommands { get; set; } = null;
|
||||
public ulong? DiscordRoleAprilFools2024 { get; set; } = null;
|
||||
public Uri MainServerGrpcAddress { get; set; } = null;
|
||||
public Uri MainServerAddress { get; set; } = null;
|
||||
public Dictionary<ulong, string> VanityRoles { get; set; } = new Dictionary<ulong, string>();
|
||||
|
||||
public override string ToString()
|
||||
|
|
@ -17,7 +17,7 @@ public class ServicesConfiguration : MareConfigurationBase
|
|||
StringBuilder sb = new();
|
||||
sb.AppendLine(base.ToString());
|
||||
sb.AppendLine($"{nameof(DiscordBotToken)} => {DiscordBotToken}");
|
||||
sb.AppendLine($"{nameof(MainServerGrpcAddress)} => {MainServerGrpcAddress}");
|
||||
sb.AppendLine($"{nameof(MainServerAddress)} => {MainServerAddress}");
|
||||
sb.AppendLine($"{nameof(DiscordChannelForMessages)} => {DiscordChannelForMessages}");
|
||||
sb.AppendLine($"{nameof(DiscordChannelForReports)} => {DiscordChannelForReports}");
|
||||
sb.AppendLine($"{nameof(DiscordChannelForCommands)} => {DiscordChannelForCommands}");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue