Skip to content

Commit afd442d

Browse files
committed
Avoid replacing URL with emoji
1 parent a3c7c2b commit afd442d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hades-client.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export class HadesClient extends Event
9292
.replace(/\:\|/g, "😐️")
9393
.replace(/\;\)/g, "😉")
9494
.replace(/\:o/g, "😲")
95-
.replace(/\:\//g, "😕")
95+
.replace(/\:\/(?!\/)/g, "😕")
9696
.replace(/\:p/g, "😛")
9797
.replace(/\}\:8/g, "🐮");
9898

0 commit comments

Comments
 (0)