modmail/structure/commands/Markread.js

19 lines
318 B
JavaScript
Raw Normal View History

2021-06-19 15:06:20 +02:00
const Command = require('../Command');
class Markread extends Command {
2021-10-22 09:35:04 +02:00
constructor (client) {
2021-06-19 15:06:20 +02:00
super(client, {
name: 'markread'
});
}
2021-10-22 09:35:04 +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;