Skip to content

Commit

Permalink
fix #293
Browse files Browse the repository at this point in the history
  • Loading branch information
Larsundso committed Feb 1, 2025
1 parent 5ff9091 commit d0da6c5
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions src/Commands/SlashCommands/settings/roles/role-rewards.ts
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,20 @@ export const getComponents: CT.SettingsFile<typeof name>['getComponents'] = (
{
type: Discord.ComponentType.ActionRow,
components: [
buttonParsers.global(language, settings?.blroleid, CT.GlobalDescType.BLRoleId, name, undefined),
buttonParsers.global(language, settings?.bluserid, CT.GlobalDescType.BLUserId, name, undefined),
buttonParsers.global(
language,
settings?.blroleid,
CT.GlobalDescType.BLRoleId,
name,
Number(settings?.uniquetimestamp),
),
buttonParsers.global(
language,
settings?.bluserid,
CT.GlobalDescType.BLUserId,
name,
Number(settings?.uniquetimestamp),
),
],
},
];

0 comments on commit d0da6c5

Please sign in to comment.