blob: 67c602a01414b8c2b3ceedf50681a1f0a7e476f7 (
plain)
1
2
3
4
5
6
7
|
module.exports = (parameter, wrapper) => {
if (lastMessages[wrapper.id]) {
wrapper.send("👓 Here are the last messages sent in this room:\n\n" + lastMessages[wrapper.id].map(i => "* " + i).join("\n"));
} else {
wrapper.send("😢 Sorry, I haven't seen any message in this room yet.");
}
}
|