modmail/structure/commands/Markunread.js

19 lines
332 B
JavaScript
Raw Normal View History

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;