changed location for command.js

This commit is contained in:
Mohammed Ashab Uddin
2020-07-21 13:57:26 +04:00
parent fc966644ef
commit 95dc1ae218
2 changed files with 10 additions and 23 deletions

View File

@@ -0,0 +1,10 @@
class Command{
constructor({command,callback}){
this.command = command;
this.callback = callback;
}
}
module.exports.Command = Command;

View File

@@ -1,23 +0,0 @@
class Command{
constructor({command, message, callback}){
this.command = command;
this.message = message;
this.callback = callback;
}
getCommand(){
return this.command;
}
getCallback(){
return this.callback;
}
getMessage(){
return this.message;
}
}
module.exports.Command = Command;