|
|
@ -125,12 +125,25 @@ let commands = [
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: ["ether", "etherpad", "Etherpad"],
|
|
|
|
name: ["ether", "etherpad", "Etherpad"],
|
|
|
|
output:[
|
|
|
|
output(input){
|
|
|
|
{color: "blue", content: "\nEtherpad", delay: 100},
|
|
|
|
if (input.find(arr => arr === "--help")) return [
|
|
|
|
{color: "white", content: " is loading\n", delay: 200},
|
|
|
|
{color: "white", content: "the syntax for this command is:\n", delay: 100},
|
|
|
|
{color: "white", content: "forwarding", delay: 400},
|
|
|
|
{color: "white", content: "etherpad", delay: 200},
|
|
|
|
{color: "white", content: " ...", forward: "https://ether.adb.sh", delay: 600}
|
|
|
|
{color: "red", content: " [padname]", delay: 300}
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
return input[1]?[
|
|
|
|
|
|
|
|
{color: "blue", content: "\nEtherpad", delay: 100},
|
|
|
|
|
|
|
|
{color: "white", content: ` pad "${input[1]}" is loading\n`, delay: 200},
|
|
|
|
|
|
|
|
{color: "white", content: "forwarding", delay: 400},
|
|
|
|
|
|
|
|
{color: "white", content: " ...", forward: `https://ether.adb.sh/p/${input[1]}`, delay: 600}
|
|
|
|
|
|
|
|
]:[
|
|
|
|
|
|
|
|
{color: "blue", content: "\nEtherpad", delay: 100},
|
|
|
|
|
|
|
|
{color: "white", content: " startpage is loading\n", delay: 200},
|
|
|
|
|
|
|
|
{color: "white", content: "run with \"--help\" to show syntax\n", delay: 300},
|
|
|
|
|
|
|
|
{color: "white", content: "forwarding", delay: 400},
|
|
|
|
|
|
|
|
{color: "white", content: " ...", forward: "https://ether.adb.sh", delay: 600}
|
|
|
|
|
|
|
|
]
|
|
|
|
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: ["surl", "short-url", "shortURL"],
|
|
|
|
name: ["surl", "short-url", "shortURL"],
|
|
|
@ -143,11 +156,41 @@ let commands = [
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: ["meet", "jitsi", "Jitsi"],
|
|
|
|
name: ["meet", "jitsi", "Jitsi"],
|
|
|
|
|
|
|
|
output(input){
|
|
|
|
|
|
|
|
if (input.find(arr => arr === "--help")) return [
|
|
|
|
|
|
|
|
{color: "white", content: "the syntax for this command is:\n", delay: 100},
|
|
|
|
|
|
|
|
{color: "white", content: "meet", delay: 200},
|
|
|
|
|
|
|
|
{color: "red", content: " [roomname]", delay: 300}
|
|
|
|
|
|
|
|
]
|
|
|
|
|
|
|
|
return input[1]?[
|
|
|
|
|
|
|
|
{color: "blue", content: "\nJitsi", delay: 100},
|
|
|
|
|
|
|
|
{color: "white", content: ` room "${input[1]}" is loading\n`, delay: 200},
|
|
|
|
|
|
|
|
{color: "white", content: "forwarding", delay: 400},
|
|
|
|
|
|
|
|
{color: "white", content: " ...", forward: `https://meet.adb.sh/${input[1]}`, delay: 600}
|
|
|
|
|
|
|
|
]:[
|
|
|
|
|
|
|
|
{color: "blue", content: "\nJitsi", delay: 100},
|
|
|
|
|
|
|
|
{color: "white", content: " startpage is loading\n", delay: 200},
|
|
|
|
|
|
|
|
{color: "white", content: "run with \"--help\" to show syntax\n", delay: 300},
|
|
|
|
|
|
|
|
{color: "white", content: "forwarding", delay: 400},
|
|
|
|
|
|
|
|
{color: "white", content: " ...", forward: "https://meet.adb.sh", delay: 600}
|
|
|
|
|
|
|
|
]
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
name: "cat",
|
|
|
|
output:[
|
|
|
|
output:[
|
|
|
|
{color: "blue", content: "\nJitsi", delay: 100},
|
|
|
|
{
|
|
|
|
{color: "white", content: " is loading\n", delay: 200},
|
|
|
|
color: "red",
|
|
|
|
{color: "white", content: "forwarding", delay: 400},
|
|
|
|
content: "" +
|
|
|
|
{color: "white", content: " ...", forward: "https://meet.adb.sh", delay: 600}
|
|
|
|
" . .\n" +
|
|
|
|
|
|
|
|
" \\`-\"'\"-'/\n" +
|
|
|
|
|
|
|
|
" } 6 6 { \n" +
|
|
|
|
|
|
|
|
" =. Y ,= \n" +
|
|
|
|
|
|
|
|
" /^^^\\ .\n" +
|
|
|
|
|
|
|
|
" / \\ )\n" +
|
|
|
|
|
|
|
|
"jgs ( )-( )/ \n" +
|
|
|
|
|
|
|
|
" \"\" \"\"",
|
|
|
|
|
|
|
|
delay: 100}
|
|
|
|
]
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
]
|
|
|
|