summaryrefslogtreecommitdiff
path: root/src/models/commands/AutoReply.ts
blob: fbc7e4684bf1a5bffc754615751de13e676ab642 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// import Command from '../Command.js'

// module.exports = class AutoReplyCommand extends Command {
//     constructor(client, info) {
//         super(client, info);

//         this.reply = info.reply || false;
//     }

//     run(msg, args, fromPattern) {
//         return this.reply ? msg.reply(this.generateText(fromPattern)) : msg.say(this.generateText(fromPattern));
//     }

//     generateText() {
//         throw new Error('The generateText method is required.');
//     }
// };