Skip to content

Commit

Permalink
dslc for join redirect (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonthegeek authored Apr 9, 2024
1 parent 06cefde commit 4ded25e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions r4ds-helpers-mastodon.R
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@ get_r4ds_toots <- function() {

set_toot_content <- function(tt_toot_jon) {
toot_content <- glue::glue(
"It's #TidyTuesday y'all! Show us what you made on our Slack at https://r4ds.io/join (find the #chat-tidytuesday channel)!",
"It's #TidyTuesday y'all! Show us what you made on our Slack at https://dslc.io/join (find the #chat-tidytuesday channel)!",
"RT @jonthegeek {tt_toot_jon$url}",
"{tt_toot_jon$content}",
.sep = "\n\n"
)

if (nchar(toot_content) > 500) {
toot_content <- glue::glue(
"It's #TidyTuesday y'all! Show us what you made on our Slack at https://r4ds.io/join (find the #chat-tidytuesday channel)!",
"It's #TidyTuesday y'all! Show us what you made on our Slack at https://dslc.io/join (find the #chat-tidytuesday channel)!",
"RT @jonthegeek {tt_toot_jon$url}",
"#RStats #PyData #JuliaLang #DataViz #tidyverse #r4ds",
.sep = "\n\n"
Expand Down

0 comments on commit 4ded25e

Please sign in to comment.