mirror of
https://github.com/xHyroM/bun-discord-bot.git
synced 2024-11-10 01:08:07 +01:00
fix: replace <:|>
This commit is contained in:
parent
1568580431
commit
7dd7db944e
1 changed files with 1 additions and 1 deletions
|
@ -32,5 +32,5 @@ export function isBunOnlyLikeMessage(content?: string) {
|
|||
if (!content) return false;
|
||||
if (content === "bun") return true;
|
||||
|
||||
return BUN_EMOJIS.some((emoji) => content.replace(/[<>]/g, "") == emoji);
|
||||
return BUN_EMOJIS.some((emoji) => content.replace(/<:|>/g, "") == emoji);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue