mirror of
https://github.com/System-End/slack-end.git
synced 2026-04-19 22:05:10 +00:00
fix: spotify
This commit is contained in:
parent
864ed4c575
commit
7d6cb1e4f2
1 changed files with 1 additions and 1 deletions
|
|
@ -117,7 +117,7 @@ export default async function (app: ModifiedApp, channel = `C07R8DYAZMM`) {
|
|||
channel,
|
||||
thread_ts: mobj.ts,
|
||||
//@ts-ignore
|
||||
text: `Here is what you listned to today :spotify_new: : \n- ${[...diceDups(cached_spotify_songs)].map((s) => `${s} x ${cached_spotify_songs.filter((e) => e == s).length}`).join("\n- ")}\n\n`.replaceAll(
|
||||
text: `Here is what you listned to today :spotify_new: : \n- ${[...diceDups(cached_spotify_songs)].map((s) => typeof s == 'string'? `${s} x ${cached_spotify_songs.filter((e) => e == s).length}`: `${s.value} x ${s.count}`).join("\n- ")}\n\n`.replaceAll(
|
||||
":spotify_new:",
|
||||
":new_spotify:",
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue