log stuff
This commit is contained in:
parent
884ec307f4
commit
bee954f15f
|
@ -200,4 +200,9 @@ bot.on('interactionCreate', async (interaction) => {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
bot.on('messageDelete', (msg) => {
|
||||||
|
console.log(`${msg.author?.username}#${msg.author?.discriminator} in #${msg.channel instanceof Discord.TextChannel ? msg.channel.name : '?'} at ${msg.createdAt.toISOString()}`);
|
||||||
|
console.log(`${msg.content}`);
|
||||||
|
});
|
||||||
|
|
||||||
bot.login(token);
|
bot.login(token);
|
||||||
|
|
Loading…
Reference in New Issue