Skip to content
This repository was archived by the owner on Feb 9, 2026. It is now read-only.

Commit 078850b

Browse files
2 parents ce7ced9 + 4c6fbf6 commit 078850b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/Util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ export async function getCommandIds(client: Client): Promise<Record<string, stri
200200

201201
export async function postToReddit(client: Client, cnt: string, author: string, imageUrl?: string) {
202202
// Remove custom Discord emojis from the content
203-
const processedContent = cnt.replace(/<:\w+:\d{17,19}>/g, '');
203+
const processedContent = cnt.replace(/<a?:\w+:\d{17,19}>/g, '');
204204

205205
/**
206206
* Checks if the required environment variables are defined.

0 commit comments

Comments
 (0)