From afc98e205efd923bd49ea7150e1cd3bd04bfdf59 Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Sun, 20 Mar 2022 11:24:10 +0000 Subject: [PATCH] Add missing ExceptionMessages --- .../Resources/ExceptionMessages.Designer.cs | 36 +++++++++++++++++++ Hammer/Resources/ExceptionMessages.resx | 12 +++++++ 2 files changed, 48 insertions(+) diff --git a/Hammer/Resources/ExceptionMessages.Designer.cs b/Hammer/Resources/ExceptionMessages.Designer.cs index 723e597..edfd5b9 100644 --- a/Hammer/Resources/ExceptionMessages.Designer.cs +++ b/Hammer/Resources/ExceptionMessages.Designer.cs @@ -60,6 +60,24 @@ internal ExceptionMessages() { } } + /// + /// Looks up a localized string similar to Cannot delete non-guild message.. + /// + internal static string CannotDeleteNonGuildMessage { + get { + return ResourceManager.GetString("CannotDeleteNonGuildMessage", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to Message does not appear in the same guild as the staff member.. + /// + internal static string MessageStaffMemberGuildMismatch { + get { + return ResourceManager.GetString("MessageStaffMemberGuildMismatch", resourceCulture); + } + } + /// /// Looks up a localized string similar to An embed cannot be built for a Gag infraction.. /// @@ -78,6 +96,24 @@ internal static string NoNegativeDuration { } } + /// + /// Looks up a localized string similar to {user.UsernameWithDiscriminator} is not a staff member of {guild.Name}.. + /// + internal static string NotAStaffMember { + get { + return ResourceManager.GetString("NotAStaffMember", resourceCulture); + } + } + + /// + /// Looks up a localized string similar to {higher.UsernameWithDiscriminator} is a higher permission level than {lower.UsernameWithDiscriminator}.. + /// + internal static string StaffIsHigherLevel { + get { + return ResourceManager.GetString("StaffIsHigherLevel", resourceCulture); + } + } + /// /// Looks up a localized string similar to The specified staff member do not belong to the specified guild.. /// diff --git a/Hammer/Resources/ExceptionMessages.resx b/Hammer/Resources/ExceptionMessages.resx index 7e6ddad..514433a 100644 --- a/Hammer/Resources/ExceptionMessages.resx +++ b/Hammer/Resources/ExceptionMessages.resx @@ -23,9 +23,21 @@ PublicKeyToken=b77a5c561934e089 + + Cannot delete non-guild message. + + + Message does not appear in the same guild as the staff member. + An embed cannot be built for a Gag infraction. + + {user.UsernameWithDiscriminator} is not a staff member of {guild.Name}. + + + {higher.UsernameWithDiscriminator} is a higher permission level than {lower.UsernameWithDiscriminator}. + The specified staff member do not belong to the specified guild.