Skip to content

Commit 18bef5a

Browse files
jwpjrdevalmostSouji
authored andcommitted
fix: bugs in useful-packages.md (discordjs#269)
1 parent c605ad2 commit 18bef5a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guide/miscellaneous/useful-packages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ const messages = await message.channel.awaitMessages(m => m.author.id === messag
6161
errors: ['time'],
6262
});
6363

64-
const difference = messages.last().createdTimestamp - message.first().createdTimestamp();
64+
const difference = messages.last().createdTimestamp - messages.first().createdTimestamp;
6565
const formatted = ms(difference);
6666

6767
message.channel.send(`You sent the two messages ${formatted} apart.`);

0 commit comments

Comments
 (0)