modmail/structure/commands/Markunread.js

19 lines
334 B
JavaScript
Raw Normal View History

const Command = require('../Command');
class Markunread extends Command {
2021-10-22 09:35:04 +02:00
constructor (client) {
super(client, {
name: 'markunread'
});
}
2021-10-22 09:35:04 +02:00
async execute (message, { args }) {
return this.client.modmail.changeReadState(message, args, 'unread');
}
}
module.exports = Markunread;