There was an error while loading. Please reload this page.
1 parent c605ad2 commit 18bef5aCopy full SHA for 18bef5a
guide/miscellaneous/useful-packages.md
@@ -61,7 +61,7 @@ const messages = await message.channel.awaitMessages(m => m.author.id === messag
61
errors: ['time'],
62
});
63
64
-const difference = messages.last().createdTimestamp - message.first().createdTimestamp();
+const difference = messages.last().createdTimestamp - messages.first().createdTimestamp;
65
const formatted = ms(difference);
66
67
message.channel.send(`You sent the two messages ${formatted} apart.`);
0 commit comments