Description Usage Arguments Value Examples
View source: R/connection_setup.R
Create Discord Connection Object
1 2 3 4 5 6 7 | create_discord_connection(
webhook_string,
username = get_default_discord_username(verbose = FALSE),
server_name = "",
channel_name = "",
set_default = FALSE
)
|
webhook_string |
Webhook URL for sending discord comments |
username |
Defaults to |
server_name |
Optional - Used for discriminating webhooks in a human readable format |
channel_name |
Optional - Used for discriminating webhooks in a human readable format |
set_default |
Optional - Set created connection as the default connection |
DiscordR connection object containing provided information
1 2 3 4 | ## Not run:
conn_obj <- create_discord_connection(webhook = 'https://google.com', username = 'test')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.