rebuild discord bot to better user interactions
This commit is contained in:
@@ -7,7 +7,9 @@ public class ServicesConfiguration : MareConfigurationBase
|
||||
public string DiscordBotToken { get; set; } = string.Empty;
|
||||
public ulong? DiscordChannelForMessages { get; set; } = null;
|
||||
public ulong? DiscordChannelForReports { get; set; } = null;
|
||||
public ulong? DiscordChannelForCommands { get; set; } = null;
|
||||
public Uri MainServerGrpcAddress { get; set; } = null;
|
||||
public ulong[]? VanityRoles { get; set; } = null;
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
@@ -17,6 +19,11 @@ public class ServicesConfiguration : MareConfigurationBase
|
||||
sb.AppendLine($"{nameof(MainServerGrpcAddress)} => {MainServerGrpcAddress}");
|
||||
sb.AppendLine($"{nameof(DiscordChannelForMessages)} => {DiscordChannelForMessages}");
|
||||
sb.AppendLine($"{nameof(DiscordChannelForReports)} => {DiscordChannelForReports}");
|
||||
sb.AppendLine($"{nameof(DiscordChannelForCommands)} => {DiscordChannelForCommands}");
|
||||
foreach (var role in VanityRoles)
|
||||
{
|
||||
sb.AppendLine($"{nameof(VanityRoles)} => {role}");
|
||||
}
|
||||
return sb.ToString();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user