Skip to content

Instantly share code, notes, and snippets.

@misutowolf
Created January 16, 2015 19:12
Show Gist options
  • Select an option

  • Save misutowolf/3bbb36da877f72892daf to your computer and use it in GitHub Desktop.

Select an option

Save misutowolf/3bbb36da877f72892daf to your computer and use it in GitHub Desktop.
bot client stuff
# Generate client objects from list of users at time of startup.
theNames.forEach (doc) ->
CLIENTS[doc.profile.name] = new WASDbot
server: 'irc.twitch.tv'
port: 6667
nick: "wasdboss"
realname: "wasdboss"
username: "wasdboss"
servpass: "oauth:cd3sm3q4klbgl7dt3c6gwbu5x08gj5"
channels: ["#" + doc.profile.name]
console.log "Created client for " + doc.profile.name
# Iterate over created objects
_.each CLIENTS, (client) ->
console.log "test"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment