mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-25 10:25:01 +00:00
Update GuildArchives.ts
This commit is contained in:
parent
930fe19566
commit
73d83e606e
1 changed files with 1 additions and 1 deletions
|
@ -117,7 +117,7 @@ export class GuildArchives extends BaseGuildRepository<ArchiveEntry> {
|
|||
guild: Guild,
|
||||
expiresAt?: moment.Moment,
|
||||
): Promise<string> {
|
||||
if (expiresAt == null) {
|
||||
if (!expiresAt) {
|
||||
expiresAt = moment.utc().add(DEFAULT_EXPIRY_DAYS, "days");
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue