[−][src]Function dishub::ops::start_daemon::send_messages
pub fn send_messages(
tokens: &AppTokens,
txts: Vec<String>,
channel: u64
) -> Result<(), Error>
Post the specified messages to a Discord channel.
Will automatially wait on rate-limits.
Examples
start_daemon::send_messages(&tokens, vec!["08.11.2016 03:10:26 AM: carllhw starred nabijaczleweli/cargo-update\n\ <https://github.com/nabijaczleweli/cargo_update/stargazers>".to_string(), "09.11.2016 06:14:26 PM: sehe pushed 1 commit to sehe/opus\n\ <https://github.com/sehe/opus/compare/95659cd...eb282d9>".to_string()], feed.channel).unwrap();