Added '/invite' command

This commit is contained in:
Mattias Erming 2014-05-18 00:17:50 +02:00
parent 8d5514ea65
commit 8fe6110a93
3 changed files with 8 additions and 1 deletions

View File

@ -11,7 +11,7 @@ These are the commands currently implemented:
- [x] /devoice
- [x] /disconnect
- [ ] /help
- [ ] /invite
- [x] /invite
- [x] /join
- [x] /kick
- [x] /leave

View File

@ -8,6 +8,7 @@ $(function() {
"/deop",
"/devoice",
"/disconnect",
"/invite",
"/join",
"/kick",
"/leave",

View File

@ -228,6 +228,12 @@ function input(data) {
client.part(part.join(","));
break;
case "invite":
if (client && args[2]) {
client.invite(args[1], args[2]);
}
break;
case "topic":
if (client) {
var msg = "TOPIC";