Add /motd
This commit is contained in:
@@ -151,7 +151,7 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
"mode": {
|
"mode": {
|
||||||
usage: "<target> <modes> [mode args...]",
|
usage: "[target] <modes> [mode args...]",
|
||||||
description: "Change channel or user mode",
|
description: "Change channel or user mode",
|
||||||
execute: (app, args) => {
|
execute: (app, args) => {
|
||||||
var target = args[0];
|
var target = args[0];
|
||||||
@@ -165,6 +165,13 @@ export default {
|
|||||||
getActiveClient(app).send({ command: "MODE", params: args });
|
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": {
|
"msg": {
|
||||||
usage: "<target> <message>",
|
usage: "<target> <message>",
|
||||||
description: "Send a message to a nickname or a channel",
|
description: "Send a message to a nickname or a channel",
|
||||||
|
|||||||
Reference in New Issue
Block a user