mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 14:29:29 +01:00
bleh
This commit is contained in:
parent
c1ac7f035d
commit
e8c0d54b02
@ -91,7 +91,7 @@ var steam = function(dbot) {
|
||||
|
||||
this.api.getSteamID(snick, function(err, steamid) {
|
||||
this.api.getProfile(steamid, function(err, player) {
|
||||
if(!err) {
|
||||
if(!err && player) {
|
||||
if(_.has(player, 'gameextrainfo')) {
|
||||
var output = dbot.t('steam_currently_playing', {
|
||||
'user': user.currentNick,
|
||||
|
Loading…
Reference in New Issue
Block a user