diff --git a/modules/users/commands.js b/modules/users/commands.js index c0cbc7b..87d3257 100644 --- a/modules/users/commands.js +++ b/modules/users/commands.js @@ -7,11 +7,20 @@ var commands = function(dbot) { alias = event.params[1].trim(); if(_.include(knownUsers.users, alias)) { - var aliasCount = this.api.getAliases(event.server, alias).length; + 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