mirror of
https://github.com/danbulant/Shasha
synced 2026-06-19 06:11:26 +00:00
less sensitive rule for detection
This commit is contained in:
parent
5091dce3b5
commit
d747c3bed6
1 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
'use strict';
|
||||
|
||||
module.exports = function emoteMessage(client, content) {
|
||||
const emotes = content.match(/(?<![<a]):\w{1,32}:(?!\d{17,19}>)/g);
|
||||
const emotes = content.match(/:\w{1,32}:(?!\d{17,19}>)/g);
|
||||
if (emotes?.length > 0) {
|
||||
let theEmotes = [];
|
||||
for (const emoteName of emotes) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue