From c07b7e867bab9970a0b6758acfc9a37081650544 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Tue, 5 Dec 2017 20:59:11 +0000 Subject: [PATCH] Bug --- commands/search/gravatar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/search/gravatar.js b/commands/search/gravatar.js index 2a053cac..97e48edc 100644 --- a/commands/search/gravatar.js +++ b/commands/search/gravatar.js @@ -22,7 +22,7 @@ module.exports = class GravatarCommand extends Command { } async run(msg, { email }) { - const hash = crypto.createHash('md5').update(email).disgest('hex'); + const hash = crypto.createHash('md5').update(email).digest('hex'); try { const { body } = await snekfetch .get(`https://www.gravatar.com/avatar/${hash}`)