diff --git a/lib/Discord/Commands/GitlabInit.js b/lib/Discord/Commands/GitlabInit.js index eb1058e..b55919c 100644 --- a/lib/Discord/Commands/GitlabInit.js +++ b/lib/Discord/Commands/GitlabInit.js @@ -81,7 +81,7 @@ class GitlabInitCommand extends Command { title: `\`${repo}\`: Successfully initialized repository events`, description: [ 'The repository must a webhook pointing to ', - !hasEmbed && 'To use embeds to have a nicer GitLab log, say `GL! conf set embed true` in this channel to enable embeds for the current channel.', + !hasEmbed ? 'To use embeds to have a nicer GitLab log, say `GL! conf set embed true` in this channel to enable embeds for the current channel.' : '', ].join('\n'), }; } diff --git a/lib/Discord/Commands/GitlabInitOrg.js b/lib/Discord/Commands/GitlabInitOrg.js index 6f47ab2..5420600 100644 --- a/lib/Discord/Commands/GitlabInitOrg.js +++ b/lib/Discord/Commands/GitlabInitOrg.js @@ -68,7 +68,7 @@ class GitlabInitOrgCommand extends Command { title: `\`${org}\`: Successfully initialized all public repository events`, description: [ 'The repositories must all have a webhook pointing to ', - !hasEmbed && 'To use embeds to have a nicer Gitlab log, say `G! conf set embed true` in this channel.', + !hasEmbed ? 'To use embeds to have a nicer Gitlab log, say `G! conf set embed true` in this channel.' : '', `Initialized repos: ${repos.length ? repos.map(e => `\`${e}\``).join(', ') : 'None'}`, ].join('\n'), };