Added '/quote' command
This commit is contained in:
parent
34b729440e
commit
0199fb4657
|
@ -75,6 +75,9 @@ Commands:
|
|||
|
||||
remove <name>
|
||||
Remove an existing user
|
||||
|
||||
edit <name>
|
||||
Edit an existing user
|
||||
```
|
||||
|
||||
Pretty simple, huh?
|
||||
|
@ -103,6 +106,7 @@ These are the commands currently implemented:
|
|||
- [x] /part
|
||||
- [x] /query
|
||||
- [x] /quit
|
||||
- [x] /quote
|
||||
- [x] /raw
|
||||
- [x] /say
|
||||
- [x] /send
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "shout",
|
||||
"description": "A web IRC client",
|
||||
"version": "0.10.7",
|
||||
"version": "0.10.8",
|
||||
"author": "Mattias Erming",
|
||||
"preferGlobal": true,
|
||||
"bin": {
|
||||
|
|
|
@ -4,7 +4,7 @@ var child = require("child_process");
|
|||
|
||||
program
|
||||
.command("edit <name>")
|
||||
.description("Edit existing user")
|
||||
.description("Edit an existing user")
|
||||
.action(function(name) {
|
||||
var users = new ClientManager().getUsers();
|
||||
if (users.indexOf(name) === -1) {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
module.exports = function(network, chan, cmd, args) {
|
||||
if (cmd != "raw" && cmd != "send") {
|
||||
if (cmd != "raw" && cmd != "send" && cmd != "quote") {
|
||||
return;
|
||||
}
|
||||
if (args.length !== 0) {
|
||||
|
|
Loading…
Reference in New Issue