Skip to content

Commit

Permalink
Add birthday as origin
Browse files Browse the repository at this point in the history
  • Loading branch information
holzmaster committed Jan 21, 2025
1 parent fe74bfb commit 566c79d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/service/birthday.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ async function awardBirthdayPresents(users: GuildMember[]) {
present,
member.user,
null,
"drop",
"birthday",
null,
lootDataService.lootAttributeTemplates[
lootDataService.LootAttributeKindId.RARITY_NORMAL
Expand Down
2 changes: 1 addition & 1 deletion src/storage/db/model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ export interface ReminderTable extends AuditedTable {
}

export type LootId = number;
export type LootOrigin = "drop" | "owner-transfer" | "replacement";
export type LootOrigin = "drop" | "owner-transfer" | "replacement" | "birthday";

export type Loot = Selectable<LootTable>;
export type LootInsertable = Insertable<LootTable>;
Expand Down

0 comments on commit 566c79d

Please sign in to comment.