mirror of
https://github.com/reality/dbot.git
synced 2024-11-24 04:49:25 +01:00
missing close brakcet in profiles
This commit is contained in:
parent
e99653076d
commit
69c7ddde55
@ -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