Skip to content

Commit

Permalink
fix(discord: commands): conf: add disabled events config to GL! conf
Browse files Browse the repository at this point in the history
Fixes #9
  • Loading branch information
dsevillamartin committed May 17, 2017
1 parent 6441cc2 commit 1254653
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Discord/Commands/Conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ class ConfCommand extends Command {
.addField('Repos (repos)', channelConf.repos[0] ? channelConf.repos.map(e => `\`${e}\``).join(', ') : 'None', true)
.addField('Repo (repo)', channelConf.repo ? `\`${channelConf.repo}\u200B\`` : 'None', true)
.addField('Use Embed (embed)', channelConf.embed ? `Yes` : 'No', true)
.addField('Disabled Events (disabledEvents)', channelConf.disabledEvents && channelConf.disabledEvents.length ? channelConf.disabledEvents.map(e => `\`${e}\``).join(', ') : 'None', true);
return msg.channel.send({ embed });
}
}
Expand Down

0 comments on commit 1254653

Please sign in to comment.