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}`)