From 1d0584e5498f4e606b86dd6b0d6cd62b508af261 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Tue, 16 May 2017 11:32:56 +0000 Subject: [PATCH] Cats --- commands/search/botinfo.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/search/botinfo.js b/commands/search/botinfo.js index 103d26eb..49efdc9d 100644 --- a/commands/search/botinfo.js +++ b/commands/search/botinfo.js @@ -1,7 +1,7 @@ const { Command } = require('discord.js-commando'); const { RichEmbed } = require('discord.js'); const snekfetch = require('snekfetch'); -const { DISCORD_BOTS_KEY } = process.env; +const { DBOTS_KEY } = process.env; module.exports = class BotSearchCommand extends Command { constructor(client) { @@ -28,7 +28,7 @@ module.exports = class BotSearchCommand extends Command { try { const { body } = await snekfetch .get(`https://bots.discord.pw/api/bots/${bot.id}`) - .set('Authorization', DISCORD_BOTS_KEY); + .set('Authorization', DBOTS_KEY); const embed = new RichEmbed() .setColor(0x9797FF) .setAuthor('Discord Bots', 'https://i.imgur.com/lrKYBQi.jpg')