mirror of
https://git.sr.ht/~emersion/gamja
synced 2024-11-14 19:25:26 -05:00
Add simple /mode command
This commit is contained in:
parent
22e54dac56
commit
e0cde27d66
1 changed files with 7 additions and 0 deletions
|
@ -69,6 +69,13 @@ export default {
|
||||||
app.privmsg(activeBuffer.name, text);
|
app.privmsg(activeBuffer.name, text);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"mode": {
|
||||||
|
usage: "<target> <modes> [mode args...]",
|
||||||
|
description: "Change channel or user mode",
|
||||||
|
execute: (app, args) => {
|
||||||
|
getActiveClient(app).send({ command: "MODE", 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",
|
||||||
|
|
Loading…
Reference in a new issue