Skip to content

Commit

Permalink
Fix slack notification
Browse files Browse the repository at this point in the history
  • Loading branch information
Pickysaurus committed Dec 2, 2024
1 parent ab0fab4 commit 457ea7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/feeds/AutoModManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ function flagsToSlackMessage(data: IModWithFlags[]): ISlackMessage {
text: `<${modLink}|${input.mod.name}> uploaded by <${userLink}|${input.mod.uploader?.name}>\n`+
`<!date^${uploadTime}^Posted {time_secs} {date_short_pretty}|${input.mod.createdAt}>\n\n`+
`<!date^${joinTime}^User Joined {time_secs} {date_short_pretty}|${input.mod.uploader?.joined}>\n\n`+
`*Game:* ${input.mod.game?.name ?? 'Unknown Game'}`+
`*Game:* ${input.mod.game?.name ?? 'Unknown Game'}\n\n`+
`*Flags:*\n${[...input.flags.high.map(f => `- ${f} [HIGH]`), ...input.flags.low.map(f => `- ${f} [LOW]`)].join('\n')}\n`+
`<https://www.nexusmods.com/admin/members/ban?ban_action=1&user_id=${userId}|Ban> | <https://www.nexusmods.com/admin/members/ipuse?uid=${userId}|IP History>`
},
Expand Down

0 comments on commit 457ea7b

Please sign in to comment.