Improved pagination, empty value checks, and bigints
This commit is contained in:
parent
72efad0928
commit
e1cfbff5a8
17 changed files with 51 additions and 41 deletions
|
@ -7,8 +7,8 @@ class RetroCommand extends ImageCommand {
|
|||
if (!line2 && line1.length > 15) {
|
||||
const [split1, split2, split3] = wrap(line1, { width: 15, indent: "" }).split("\n");
|
||||
line1 = split1;
|
||||
line2 = split2 ? split2 : "";
|
||||
line3 = split3 ? split3 : "";
|
||||
line2 = split2 ?? "";
|
||||
line3 = split3 ?? "";
|
||||
} else {
|
||||
if (!line2) {
|
||||
line2 = "";
|
||||
|
@ -29,4 +29,4 @@ class RetroCommand extends ImageCommand {
|
|||
static command = "retro";
|
||||
}
|
||||
|
||||
export default RetroCommand;
|
||||
export default RetroCommand;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue