mirror of
https://codeberg.org/emersion/gamja.git
synced 2024-11-14 19:05:01 -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