Skip to content

Commit

Permalink
Only post first 4 webcam images
Browse files Browse the repository at this point in the history
Mastodon won't let us post any more than that.
  • Loading branch information
mattwynne committed Dec 21, 2023
1 parent 77ca311 commit a283a63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bot/whitewater.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ Message: ${conditions.alert}`;
}
statusText +=
'\n#Weather #Skiing #Snowboarding #Backcountry #Slackcountry #SkiTouring #Splitboarding #Whitewater';
return await this.mastodon.postStatus(statusText, mediaIds);
return await this.mastodon.postStatus(statusText, mediaIds.slice(0, 4));
}
}

0 comments on commit a283a63

Please sign in to comment.