Add in source code command
This commit is contained in:
parent
0bf9c75bdc
commit
41aac02715
|
|
@ -120,6 +120,7 @@
|
||||||
help() {
|
help() {
|
||||||
const rows = [
|
const rows = [
|
||||||
["help", "show this list"],
|
["help", "show this list"],
|
||||||
|
["code", "Shows the website source code"],
|
||||||
["socials", "list all socials"],
|
["socials", "list all socials"],
|
||||||
["<social>", "show a social & ask to open it (append -open to do directly)"],
|
["<social>", "show a social & ask to open it (append -open to do directly)"],
|
||||||
["system", "open my system website (append a person's name to open their page)"],
|
["system", "open my system website (append a person's name to open their page)"],
|
||||||
|
|
@ -134,6 +135,7 @@
|
||||||
ls() {
|
ls() {
|
||||||
const rows = [
|
const rows = [
|
||||||
["help", "show this list"],
|
["help", "show this list"],
|
||||||
|
["code", "Shows the website source code"],
|
||||||
["socials", "list all socials"],
|
["socials", "list all socials"],
|
||||||
["<social>", "show a social & ask to open it (append -open to do directly)"],
|
["<social>", "show a social & ask to open it (append -open to do directly)"],
|
||||||
["system", "open my system website (append a person's name to open their page)"],
|
["system", "open my system website (append a person's name to open their page)"],
|
||||||
|
|
@ -145,6 +147,10 @@
|
||||||
out += "\n\nTip: type a social's name (try 'socials') to open it.";
|
out += "\n\nTip: type a social's name (try 'socials') to open it.";
|
||||||
return { text: out };
|
return { text: out };
|
||||||
},
|
},
|
||||||
|
code() {
|
||||||
|
window.open("https://git.gay/doughmination/clove-is-a-dev", "_blank");
|
||||||
|
return { text: "Opening site source code..." }
|
||||||
|
},
|
||||||
async system(args) {
|
async system(args) {
|
||||||
const who = (args[0] || "").toLowerCase();
|
const who = (args[0] || "").toLowerCase();
|
||||||
if (!who) {
|
if (!who) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue