Skip to content

Commit

Permalink
Add missing ExceptionMessages
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverbooth committed Mar 20, 2022
1 parent 5ba4f1e commit afc98e2
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
36 changes: 36 additions & 0 deletions Hammer/Resources/ExceptionMessages.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions Hammer/Resources/ExceptionMessages.resx
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,21 @@
PublicKeyToken=b77a5c561934e089
</value>
</resheader>
<data name="CannotDeleteNonGuildMessage" xml:space="preserve">
<value>Cannot delete non-guild message.</value>
</data>
<data name="MessageStaffMemberGuildMismatch" xml:space="preserve">
<value>Message does not appear in the same guild as the staff member.</value>
</data>
<data name="NoEmbedForGag" xml:space="preserve">
<value>An embed cannot be built for a Gag infraction.</value>
</data>
<data name="NotAStaffMember" xml:space="preserve">
{user.UsernameWithDiscriminator} is not a staff member of {guild.Name}.
</data>
<data name="StaffIsHigherLevel" xml:space="preserve">
{higher.UsernameWithDiscriminator} is a higher permission level than {lower.UsernameWithDiscriminator}.
</data>
<data name="StaffMemberGuildMismatch" xml:space="preserve">
<value>The specified staff member do not belong to the specified guild.</value>
</data>
Expand Down

0 comments on commit afc98e2

Please sign in to comment.