mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 22:17:22 +01:00
add registered role to bot
This commit is contained in:
parent
600bd1893e
commit
86ae9d40e0
6 changed files with 158 additions and 15 deletions
|
|
@ -9,6 +9,8 @@ public class ServicesConfiguration : MareConfigurationBase
|
|||
public ulong? DiscordChannelForCommands { get; set; } = null;
|
||||
public ulong? DiscordRoleAprilFools2024 { get; set; } = null;
|
||||
public ulong? DiscordChannelForBotLog { get; set; } = null!;
|
||||
public ulong? DiscordRoleRegistered { get; set; } = null!;
|
||||
public bool KickNonRegisteredUsers { get; set; } = false;
|
||||
public Uri MainServerAddress { get; set; } = null;
|
||||
public Dictionary<ulong, string> VanityRoles { get; set; } = new Dictionary<ulong, string>();
|
||||
|
||||
|
|
@ -21,6 +23,8 @@ public class ServicesConfiguration : MareConfigurationBase
|
|||
sb.AppendLine($"{nameof(DiscordChannelForMessages)} => {DiscordChannelForMessages}");
|
||||
sb.AppendLine($"{nameof(DiscordChannelForCommands)} => {DiscordChannelForCommands}");
|
||||
sb.AppendLine($"{nameof(DiscordRoleAprilFools2024)} => {DiscordRoleAprilFools2024}");
|
||||
sb.AppendLine($"{nameof(DiscordRoleRegistered)} => {DiscordRoleRegistered}");
|
||||
sb.AppendLine($"{nameof(KickNonRegisteredUsers)} => {KickNonRegisteredUsers}");
|
||||
foreach (var role in VanityRoles)
|
||||
{
|
||||
sb.AppendLine($"{nameof(VanityRoles)} => {role.Key} = {role.Value}");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue