mirror of
https://github.com/System-End/slack-end.git
synced 2026-04-19 23:22:56 +00:00
enhancement(lint): Fix lint errors for src/modules/journey.ts
Co-authored-by: NeonGamerBot-QK <neon@saahild.com> Signed-off-by: zeon-neon[bot] <136533918+zeon-neon[bot]@users.noreply.github.com>
This commit is contained in:
parent
f5d06736e1
commit
a6dd80c0c1
1 changed files with 4 additions and 4 deletions
|
|
@ -139,14 +139,14 @@ export async function shipUpdatesCron(app: ModifiedApp) {
|
|||
channel: `C08N1NWKEF4`,
|
||||
thread_ts: entry.root_message,
|
||||
reply_broadcast: true,
|
||||
text: update.text.slice(0,3000) || "no update text huh",
|
||||
text: update.text.slice(0, 3000) || "no update text huh",
|
||||
blocks: [
|
||||
{
|
||||
type: "section",
|
||||
text: {
|
||||
type: "mrkdwn",
|
||||
// TODO add the ping back
|
||||
text: `:tada: *New Update!*by <@${update.slack_id}> \n${update.text.slice(0,2900)}`,
|
||||
text: `:tada: *New Update!*by <@${update.slack_id}> \n${update.text.slice(0, 2900)}`,
|
||||
},
|
||||
},
|
||||
// add image
|
||||
|
|
@ -163,14 +163,14 @@ export async function shipUpdatesCron(app: ModifiedApp) {
|
|||
channel: `C08N1NWKEF4`,
|
||||
thread_ts: entry.root_message,
|
||||
reply_broadcast: true,
|
||||
text: update.text.slice(0,3000) || "no update text huh",
|
||||
text: update.text.slice(0, 3000) || "no update text huh",
|
||||
blocks: [
|
||||
{
|
||||
type: "section",
|
||||
text: {
|
||||
type: "mrkdwn",
|
||||
// TODO add the ping back
|
||||
text: `:tada: *New Update!*by <@${update.slack_id}> \n${update.text.slice(0,2900)}`,
|
||||
text: `:tada: *New Update!*by <@${update.slack_id}> \n${update.text.slice(0, 2900)}`,
|
||||
},
|
||||
},
|
||||
].filter(Boolean),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue