You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
297 B
JavaScript

4 years ago
module.exports = class {
constructor(client) {
this.client = client;
}
async emit(cachedMessage) {
if (!cachedMessage) return;
this.client.logger.log(`@${cachedMessage.author.username} has just deleted their message: ${cachedMessage.content}`, `log`);
4 years ago
}
}