mirror of
https://github.com/thelounge/thelounge
synced 2024-11-22 12:03:11 +00:00
Added '/invite' command
This commit is contained in:
parent
8d5514ea65
commit
8fe6110a93
3 changed files with 8 additions and 1 deletions
|
@ -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 a new issue