diff --git a/src/wrappers/interfaces/IMessage.ts b/src/wrappers/interfaces/IMessage.ts index bc5cbae..19962dc 100644 --- a/src/wrappers/interfaces/IMessage.ts +++ b/src/wrappers/interfaces/IMessage.ts @@ -31,7 +31,7 @@ export interface IMessage { * @param regexPattern - The pattern which shall be applied on the message. * @param [excludeFirstWord] - Excludes the first word of the content if set to true */ - getRegexGroups(regexPattern: RegExp, excludeFirstWord: boolean): string[]; + getRegexGroups(regexPattern: RegExp, excludeFirstWord?: boolean): string[]; /** * Get the author of the message