-
-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: handle errors in the reaction add logger (#2581)
- Loading branch information
Showing
3 changed files
with
97 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"reaction": "Reaction Added", | ||
"reactionDescription": "Reacted with {{emoji}} on {{message}}", | ||
"reactionFooter": "First Reaction Added", | ||
"filterFooter": "Filtered Reaction", | ||
"filter": "{{REDCROSS}} Hey {{user}}, please do not add that reaction!", | ||
"selfRoleHierarchy": "{{REDCROSS}} My role needs to be higher than all self-assignable roles, otherwise I can't grant them to people!" | ||
"selfRoleHierarchy": "{{REDCROSS}} My role needs to be higher than all self-assignable roles, otherwise I can't grant them to people!" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
import { FT, T } from '#lib/types'; | ||
|
||
export const Reaction = T<string>('events/reactions:reaction'); | ||
export const Filter = FT<{ user: string }, string>('events/reactions:filter'); | ||
export const FilterFooter = T<string>('events/reactions:filterFooter'); | ||
export const SelfRoleHierarchy = T<string>('events/reactions:selfRoleHierarchy'); | ||
export const ReactionDescription = FT<{ emoji: string; message: string }>('events/reactions:reactionDescription'); | ||
export const ReactionFooter = T('events/reactions:reactionFooter'); | ||
export const Filter = FT<{ user: string }>('events/reactions:filter'); | ||
export const FilterFooter = T('events/reactions:filterFooter'); | ||
export const SelfRoleHierarchy = T('events/reactions:selfRoleHierarchy'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters