Skip to content
This repository has been archived by the owner on Dec 3, 2021. It is now read-only.

Commit

Permalink
Make IMessage.getRegexGroups excludeFirstWord parameter optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Blackhawk-TA committed Nov 22, 2020
1 parent 9a51fbf commit 47247f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wrappers/interfaces/IMessage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 47247f5

Please sign in to comment.