1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-04-19 16:33:36 +03:00

move RenameHoistedUsers

This commit is contained in:
Macintxsh 2023-07-23 17:28:44 +03:00
parent 22d6076e32
commit d5ee8592c4
Signed by: mctaylors
GPG key ID: 2E1BF7AD0D4BB0B4
2 changed files with 7 additions and 7 deletions

View file

@ -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;

View file

@ -40,6 +40,11 @@ public static class GuildSettings {
public static readonly BoolOption AutoStartEvents = new("AutoStartEvents", false);
/// <summary>
/// Controls the editing of the display name in the guild when the user tries to hoist themselves.
/// </summary>
public static readonly BoolOption RenameHoistedUsers = new("RenameHoistedUsers", false);
/// <summary>
/// Controls what channel should all public messages be sent to.
/// </summary>
@ -60,9 +65,4 @@ public static class GuildSettings {
/// </summary>
public static readonly TimeSpanOption EventEarlyNotificationOffset = new(
"EventEarlyNotificationOffset", TimeSpan.Zero);
/// <summary>
/// Controls the editing of the display name in the guild when the user tries to hoist themselves.
/// </summary>
public static readonly BoolOption RenameHoistedUsers = new("RenameHoistedUsers", false);
}