modmail/structure/commands/Markunread.js
2021-10-22 10:35:04 +03:00

19 lines
334 B
JavaScript

const Command = require('../Command');
class Markunread extends Command {
constructor (client) {
super(client, {
name: 'markunread'
});
}
async execute (message, { args }) {
return this.client.modmail.changeReadState(message, args, 'unread');
}
}
module.exports = Markunread;