Skip to content

Commit

Permalink
Upload Assignment Three tasks LaunchCodeEducation#1-3 solution code.
Browse files Browse the repository at this point in the history
  • Loading branch information
kmccol1 committed Feb 26, 2024
1 parent 1fe6520 commit db3b8c2
Show file tree
Hide file tree
Showing 7 changed files with 3,688 additions and 4 deletions.
2 changes: 1 addition & 1 deletion command.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ class Command {

}

module.exports = Command;
module.exports = Command;
9 changes: 8 additions & 1 deletion message.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
class Message {
// Write code here!
constructor(name, commands) {
this.name = name;
if (!name) {
throw Error("Message name required.");
}
this.commands = commands;
}
}

module.exports = Message;
module.exports = Message;
Loading

0 comments on commit db3b8c2

Please sign in to comment.