modmail/structure/commands/Markunread.js
2021-09-02 14:38:55 +03:00

19 lines
332 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;