mirror of
https://codeberg.org/emersion/gamja.git
synced 2024-11-25 00:38:12 -05:00
Add /motd
This commit is contained in:
parent
e080e87cb7
commit
5b29cf83f6
1 changed files with 8 additions and 1 deletions
|
@ -151,7 +151,7 @@ export default {
|
|||
},
|
||||
},
|
||||
"mode": {
|
||||
usage: "<target> <modes> [mode args...]",
|
||||
usage: "[target] <modes> [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: "<target> <message>",
|
||||
description: "Send a message to a nickname or a channel",
|
||||
|
|
Loading…
Reference in a new issue