mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 11:03:30 +01:00
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:
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -3631,7 +3631,7 @@ declare module 'discord.js' {
|
||||
|
||||
interface SplitOptions {
|
||||
maxLength?: number;
|
||||
char?: string;
|
||||
char?: string | string[] | RegExp | RegExp[];
|
||||
prepend?: string;
|
||||
append?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user