diff --git a/commands.js b/commands.js index b23ad65..2a55807 100644 --- a/commands.js +++ b/commands.js @@ -151,7 +151,7 @@ export default { }, }, "mode": { - usage: " [mode args...]", + usage: "[target] [mode args...]", description: "Change channel or user mode", execute: (app, args) => { var target = args[0]; @@ -165,6 +165,13 @@ export default { getActiveClient(app).send({ command: "MODE", params: args }); }, }, + "motd": { + usage: "[server]", + description: "Get the Message Of The Day", + execute: (app, args) => { + getActiveClient(app).send({ command: "MOTD", params: args }); + }, + }, "msg": { usage: " ", description: "Send a message to a nickname or a channel",