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