diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-01-26 21:40:27 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-01-26 21:40:27 -0500 |
commit | 3b008e3997bac2093cc8b4254328ec84acc7e294 (patch) | |
tree | 22ac3c43b53c2bd0382541de37530f944bd9c721 /src/lib/common | |
parent | 840cca672d681c36f980a06fb79a4e2c01bd69ac (diff) | |
download | tanzanite-3b008e3997bac2093cc8b4254328ec84acc7e294.tar.gz tanzanite-3b008e3997bac2093cc8b4254328ec84acc7e294.tar.bz2 tanzanite-3b008e3997bac2093cc8b4254328ec84acc7e294.zip |
minor changes
Diffstat (limited to 'src/lib/common')
-rw-r--r-- | src/lib/common/ButtonPaginator.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/common/ButtonPaginator.ts b/src/lib/common/ButtonPaginator.ts index 0c18119..0399e74 100644 --- a/src/lib/common/ButtonPaginator.ts +++ b/src/lib/common/ButtonPaginator.ts @@ -53,8 +53,7 @@ export class ButtonPaginator { ) { this.message = message; this.embeds = embeds; - // eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing - this.text = text || null; + this.text = text ? text : null; this.deleteOnExit = deleteOnExit; this.curPage = startOn - 1; |