mirror of
https://codeberg.org/emersion/gamja.git
synced 2024-11-14 19:05:01 -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);
|
||||
},
|
||||
},
|
||||
"mode": {
|
||||
usage: "<target> <modes> [mode args...]",
|
||||
description: "Change channel or user mode",
|
||||
execute: (app, args) => {
|
||||
getActiveClient(app).send({ command: "MODE", params: args });
|
||||
},
|
||||
},
|
||||
"msg": {
|
||||
usage: "<target> <message>",
|
||||
description: "Send a message to a nickname or a channel",
|
||||
|
|
Loading…
Reference in a new issue