File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,7 @@ export const AllowedDiscordProperties = Object.freeze({
95
95
96
96
export enum TagIfComparisons {
97
97
EQUAL = '=' ,
98
+ NOT_EQUAL = "!=" ,
98
99
GREATER_THAN = '>' ,
99
100
GREATER_THAN_OR_EQUAL = '>=' ,
100
101
LESS_THAN = '<' ,
@@ -105,6 +106,7 @@ export enum TagIfComparisons {
105
106
106
107
export const TAG_IF_COMPARISONS = [
107
108
TagIfComparisons . EQUAL ,
109
+ TagIfComparisons . NOT_EQUAL ,
108
110
TagIfComparisons . GREATER_THAN ,
109
111
TagIfComparisons . GREATER_THAN_OR_EQUAL ,
110
112
TagIfComparisons . LESS_THAN ,
@@ -911,6 +913,9 @@ const ScriptTags = Object.freeze({
911
913
case TagIfComparisons . EQUAL : {
912
914
compared = values [ 0 ] === values [ 1 ] ;
913
915
} ; break ;
916
+ case TagIfComparisons . NOT_EQUAL : {
917
+ compared = values [ 0 ] !== values [ 1 ] ;
918
+ } ; break ;
914
919
case TagIfComparisons . GREATER_THAN :
915
920
case TagIfComparisons . GREATER_THAN_OR_EQUAL :
916
921
case TagIfComparisons . LESS_THAN :
You can’t perform that action at this time.
0 commit comments