From d5ee8592c43d849db332bdf82b8321ae7d9966ac Mon Sep 17 00:00:00 2001 From: mctaylors <95250141+mctaylors@users.noreply.github.com> Date: Sun, 23 Jul 2023 17:28:44 +0300 Subject: [PATCH] move RenameHoistedUsers --- src/Commands/SettingsCommandGroup.cs | 4 ++-- src/Data/GuildSettings.cs | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Commands/SettingsCommandGroup.cs b/src/Commands/SettingsCommandGroup.cs index 7932e01..be1a194 100644 --- a/src/Commands/SettingsCommandGroup.cs +++ b/src/Commands/SettingsCommandGroup.cs @@ -31,14 +31,14 @@ public class SettingsCommandGroup : CommandGroup { GuildSettings.RemoveRolesOnMute, GuildSettings.ReturnRolesOnRejoin, GuildSettings.AutoStartEvents, + GuildSettings.RenameHoistedUsers, GuildSettings.PublicFeedbackChannel, GuildSettings.PrivateFeedbackChannel, GuildSettings.EventNotificationChannel, GuildSettings.DefaultRole, GuildSettings.MuteRole, GuildSettings.EventNotificationRole, - GuildSettings.EventEarlyNotificationOffset, - GuildSettings.RenameHoistedUsers + GuildSettings.EventEarlyNotificationOffset }; private readonly ICommandContext _context; diff --git a/src/Data/GuildSettings.cs b/src/Data/GuildSettings.cs index fba6250..797adeb 100644 --- a/src/Data/GuildSettings.cs +++ b/src/Data/GuildSettings.cs @@ -40,6 +40,11 @@ public static class GuildSettings { public static readonly BoolOption AutoStartEvents = new("AutoStartEvents", false); + /// + /// Controls the editing of the display name in the guild when the user tries to hoist themselves. + /// + public static readonly BoolOption RenameHoistedUsers = new("RenameHoistedUsers", false); + /// /// Controls what channel should all public messages be sent to. /// @@ -60,9 +65,4 @@ public static class GuildSettings { /// public static readonly TimeSpanOption EventEarlyNotificationOffset = new( "EventEarlyNotificationOffset", TimeSpan.Zero); - - /// - /// Controls the editing of the display name in the guild when the user tries to hoist themselves. - /// - public static readonly BoolOption RenameHoistedUsers = new("RenameHoistedUsers", false); }