var _ = require('underscore')._; var commands = function(dbot) { var commands = { '~alias': function(event) { var knownUsers = this.getServerUsers(event.server), alias = event.params[1].trim(); if(_.include(knownUsers.users, alias)) { var aliases = this.api.getAliases(event.server, alias); var aliasCount = aliases.length; var aliases = _.first(aliases, 10); var including = 'including: '; for(var i=0;i