modmail/structure/commands/Markread.js

19 lines
316 B
JavaScript
Raw Normal View History

2021-06-19 15:06:20 +02:00
const Command = require('../Command');
class Markread extends Command {
constructor(client) {
super(client, {
name: 'markread'
});
}
2021-06-20 13:12:23 +02:00
async execute(message, { args }) {
2021-06-19 15:06:20 +02:00
return this.client.modmail.changeReadState(message, args);
2021-06-19 15:06:20 +02:00
}
}
module.exports = Markread;