Skip to content

Commit

Permalink
fix(discord: commands): conf: show name of property in field view
Browse files Browse the repository at this point in the history
Fixes #10
  • Loading branch information
dsevillamartin committed May 17, 2017
1 parent 2e9d446 commit 6441cc2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Discord/Commands/Conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ class ConfCommand extends Command {
.setColor('#FB9738')
.setAuthor(`${guild.name} #${channel.name}`, guild.iconURL)
.setDescription(`This is your current channel's configuration.`)
.addField('Repos', channelConf.repos[0] ? channelConf.repos.map(e => `\`${e}\``).join(', ') : 'None', true)
.addField('Repo', channelConf.repo ? `\`${channelConf.repo}\u200B\`` : 'None', true)
.addField('Use Embed', channelConf.embed ? `Yes` : 'No', true);
.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)
return msg.channel.send({ embed });
}
}
Expand Down

0 comments on commit 6441cc2

Please sign in to comment.