cw_socials: Create a draft post for coworking

View source: R/coworking.R

cw_socialsR Documentation

Create a draft post for coworking

Description

Creates draft posts for Mastodon and LinkedIn (by opening issues on rosadmin/scheduled_socials) and Slack (by printing the post text and schedule).

Usage

cw_socials(
  date,
  who_masto,
  who_slack,
  who_linkedin,
  who_main_masto = "@steffilazerte@fosstodon.org",
  who_main_slack = "@Steffi LaZerte",
  who_main_linkedin = "Steffi LaZerte",
  posters_tz = "America/Winnipeg",
  dry_run = FALSE
)

Arguments

date

Character/Date. Date of the coworking event (local)

who_masto

Character. The full mastodon handle for the cohost (i.e. XXXX@XXXX.com)

who_slack

Character. The full Slack handle for the cohost (i.e. @XXXX)

who_linkedin

Character. The full LinkedIn handle for the cohost (i.e. @XXXX)

who_main_masto

Character. The full mastodon handle for the rOpenSci staff organizer.

who_main_slack

Character. The full Slack handle for the rOpenSci staff organizer.

who_main_linkedin

Character. The full LinkedIn handle for the rOpenSci staff organizer.

posters_tz

Character. Timezone of poster. Required for getting the time at which to post Slack messages as these are posted in the local timezone

dry_run

Logical. Whether to do a dry run (i.e. don't post)

Examples


## Not run: 
cw_socials("2023-07-04", who_masto = "@cohost@mastodon.org", who_slack = "@cohost")

## End(Not run)

ropensci-org/promoutils documentation built on Nov. 29, 2024, 7:17 p.m.