Added '/invite' command
This commit is contained in:
parent
8d5514ea65
commit
8fe6110a93
|
@ -11,7 +11,7 @@ These are the commands currently implemented:
|
|||
- [x] /devoice
|
||||
- [x] /disconnect
|
||||
- [ ] /help
|
||||
- [ ] /invite
|
||||
- [x] /invite
|
||||
- [x] /join
|
||||
- [x] /kick
|
||||
- [x] /leave
|
||||
|
|
|
@ -8,6 +8,7 @@ $(function() {
|
|||
"/deop",
|
||||
"/devoice",
|
||||
"/disconnect",
|
||||
"/invite",
|
||||
"/join",
|
||||
"/kick",
|
||||
"/leave",
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue