Added '/quote' command

This commit is contained in:
Mattias Erming 2014-08-25 03:35:19 -07:00
parent 34b729440e
commit 0199fb4657
4 changed files with 7 additions and 3 deletions

View file

@ -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

View file

@ -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": {

View file

@ -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) {

View file

@ -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) {