diff --git a/episode-18-code/commands/pay.js b/episode-18-code/commands/pay.js index 64ef89d..893eaa6 100644 --- a/episode-18-code/commands/pay.js +++ b/episode-18-code/commands/pay.js @@ -33,7 +33,7 @@ module.exports.run = async (bot, message, args) => { message.channel.send(`${message.author} has given ${pUser} ${args[1]} coins.`); fs.writeFile("./coins.json", JSON.stringify(coins), (err) => { - if(err) cosole.log(err) + if(err) console.log(err) });