We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4eb5b6f commit 1ad653bCopy full SHA for 1ad653b
src/util/RequestsUtil.ts
@@ -101,7 +101,7 @@ export class RequestsUtil {
101
* @returns A NEW regex object every time. You have to store it as a variable if you use `exec` on it, otherwise you will encounter infinite loops.
102
*/
103
public static getTicketRequestRegex(): RegExp {
104
- return new RegExp( `<?(?:https?://bugs\\.mojang\\.com/(?:browse|projects/\\w+/issues)/|\\b)${ MentionCommand.ticketPattern }>?`, 'g' );
+ return new RegExp( `<?(?:https?://(?:report\\.)?bugs\\.mojang\\.com/(?:browse(?:/\\w+/issues)?|projects/\\w+/issues|servicedesk/customer/portal/\\d+)/|\\b)${ MentionCommand.ticketPattern }>?`, 'g' );
105
}
106
107
public static async checkTicketValidity( tickets: string[] ): Promise<boolean> {
0 commit comments