feat(Util): allow array for StringOptions' char (#5566)

Co-authored-by: Voltrex <62040526+VoltrexMaster@users.noreply.github.com>
Co-authored-by: SpaceEEC <spaceeec@yahoo.com>
Co-authored-by: Papaia <43409674+papaia@users.noreply.github.com>
Co-authored-by: Noel <icrawltogo@gmail.com>
This commit is contained in:
u9g
2021-06-10 05:24:45 -04:00
committed by GitHub
parent eb0291d9a5
commit fbcbb29884
3 changed files with 17 additions and 4 deletions

2
typings/index.d.ts vendored
View File

@@ -3631,7 +3631,7 @@ declare module 'discord.js' {
interface SplitOptions {
maxLength?: number;
char?: string;
char?: string | string[] | RegExp | RegExp[];
prepend?: string;
append?: string;
}