mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 14:29:29 +01:00
extra whatever thing good comit msg
This commit is contained in:
parent
69c7ddde55
commit
de2a22834d
@ -33,7 +33,7 @@ var commands = function(dbot){
|
|||||||
if(event.params[1]){
|
if(event.params[1]){
|
||||||
var primary = dbot.api.users.resolveUser(event.server, event.params[1]);
|
var primary = dbot.api.users.resolveUser(event.server, event.params[1]);
|
||||||
if(_.has(dbot.db.profiles[event.server], primary.toLowerCase())){
|
if(_.has(dbot.db.profiles[event.server], primary.toLowerCase())){
|
||||||
event.reply(dbot.api.web.getUrl("/profile/"+event.server+"/"+primary.toLowerCase()));
|
event.reply(dbot.api.web.getUrl("profile/"+event.server+"/"+primary.toLowerCase()));
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
event.reply("No profile found for "+event.params[1]);
|
event.reply("No profile found for "+event.params[1]);
|
||||||
|
Loading…
Reference in New Issue
Block a user