mirror of
https://git.sr.ht/~emersion/gamja
synced 2024-11-28 18:45:51 -05:00
Add /notice command
This commit is contained in:
parent
9df58971ea
commit
11660e4409
1 changed files with 5 additions and 0 deletions
|
@ -65,6 +65,11 @@ export default {
|
|||
var newNick = args[0];
|
||||
app.client.send({ command: "NICK", params: [newNick] });
|
||||
},
|
||||
"notice": (app, args) => {
|
||||
var target = args[0];
|
||||
var text = args.slice(1).join(" ");
|
||||
app.client.send({ command: "NOTICE", params: [target, text] });
|
||||
},
|
||||
"buffer": (app, args) => {
|
||||
var name = args[0];
|
||||
if (!app.state.buffers.has(name)) {
|
||||
|
|
Loading…
Reference in a new issue