diff --git a/commands/search/docs.js b/commands/search/docs.js index d1e9557c..cdae98d1 100644 --- a/commands/search/docs.js +++ b/commands/search/docs.js @@ -23,6 +23,7 @@ module.exports = class DocstCommand extends Command { async run(msg, { query }) { const doc = await Docs.fetch('stable'); const embed = doc.resolveEmbed(query); + if (!embed) return msg.say('Could not find any results.'); return msg.embed(embed); } };