This commit is contained in:
Daniel Odendahl Jr
2017-12-05 20:59:11 +00:00
parent df57b971a6
commit c07b7e867b
+1 -1
View File
@@ -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}`)