aboutsummaryrefslogtreecommitdiff
path: root/src/lib/utils
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-08-20 12:41:28 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-08-20 12:41:28 -0400
commiteb381b80e60f01a635af3ffe80bf950bb4a73c30 (patch)
tree5b00332893dfead81ce53947c2e81494d2dd1371 /src/lib/utils
parent7048fb1d6d24a26d4e0fdadc2f75bd0717fa80f9 (diff)
downloadtanzanite-eb381b80e60f01a635af3ffe80bf950bb4a73c30.tar.gz
tanzanite-eb381b80e60f01a635af3ffe80bf950bb4a73c30.tar.bz2
tanzanite-eb381b80e60f01a635af3ffe80bf950bb4a73c30.zip
fixed steal
Diffstat (limited to 'src/lib/utils')
-rw-r--r--src/lib/utils/BushConstants.ts6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/utils/BushConstants.ts b/src/lib/utils/BushConstants.ts
index 1d7f81e..de3076a 100644
--- a/src/lib/utils/BushConstants.ts
+++ b/src/lib/utils/BushConstants.ts
@@ -22,9 +22,6 @@ interface bushColors {
orange: '#E86100';
}
-('<:verifiedbot1:700325427998097449>');
-('');
-
export class BushConstants {
public static emojis = {
success: '<:checkmark:837109864101707807>',
@@ -105,7 +102,8 @@ export class BushConstants {
public static regex = {
snowflake: /\d{15,21}/gim,
- discordEmoji: /<a?:[a-zA-Z0-9_]+:\d{15,21}>/gim
+ // eslint-disable-next-line no-useless-escape
+ discordEmoji: /<a?:(?<name>[a-zA-Z0-9\_]+):(?<id>\d{15,21})>/gim
};
/** A bunch of mappings */