Skip to content

Instantly share code, notes, and snippets.

View clavin's full-sized avatar

Calvin clavin

View GitHub Profile
use std::io::{stdin, BufRead, BufReader};
const CROW: &str = r#"
▒▒▒▒▒▒▓▓▓▓▒▒
▓▓▒▒▓▓▒▒
▓▓▓▓▓▓▓▓▒▒
▓▓████▓▓████▓▓▒▒
▓▓▓▓▓▓▓▓▓▓██▓▓████
▓▓▓▓▓▓▒▒▓▓▓▓▓▓▓▓████
▓▓▓▓▓▓▒▒▓▓▒▒▒▒████▓▓▓▓
@clavin
clavin / rtm-api.example.md
Last active July 29, 2019 19:23
Example output of reference documentation generation

@slack/rtm-api

Classes

RTMClient

An RTMClient allows programs to communicate with the Slack Platform's RTM API. This object uses the EventEmitter pattern to dispatch incoming events and has several methods for sending outgoing messages.

new RTMClient(token, opts)