Other color and more pingi

This commit is contained in:
Daniel Kluge 2022-07-30 15:59:19 +02:00
parent 59538ef110
commit e81f52e572

View File

@ -284,8 +284,10 @@ const color: Command = {
switch(true) { switch(true) {
case color.hex().toLowerCase() === "#1f1e33": { case color.hex().toLowerCase() === "#1f1e33": {
if (cmdIf.callbacks?.setModalHTML) cmdIf.callbacks?.setModalHTML('<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/w4U9S5eX3eY" title="YouTube video player" frameborder="0" allow="autoplay; clipboard-write; encrypted-media; picture-in-picture" allowfullscreen></iframe>'); if (cmdIf.callbacks?.setModalHTML && cmdIf.callbacks?.setModalVisible) {
if (cmdIf.callbacks?.setModalVisible) cmdIf.callbacks?.setModalVisible(true); cmdIf.callbacks?.setModalHTML('<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/w4U9S5eX3eY" title="YouTube video player" frameborder="0" allow="autoplay; clipboard-write; encrypted-media; picture-in-picture" allowfullscreen></iframe>');
cmdIf.callbacks?.setModalVisible(true);
}
break; break;
} }
} }
@ -340,7 +342,11 @@ const save: Command = {
const pingi: Command = { const pingi: Command = {
name: "pingi", name: "pingi",
desc: "<3", desc: "<3",
execute: () => { execute: (_flags, _args, _raw, cmdIf) => {
if (cmdIf.callbacks?.setModalHTML && cmdIf.callbacks.setModalVisible) {
cmdIf.callbacks.setModalHTML('<img src="https://openai-labs-public-images-prod.azureedge.net/user-jomUNcw4rd0bDGfcOQUAbYNO/generations/generation-hJQFR4dpyyZskjmbAkvlnNYi/image.webp" />');
cmdIf.callbacks.setModalVisible(true);
}
return ["<3"]; return ["<3"];
}, },
hidden: true hidden: true
@ -350,7 +356,7 @@ const blahaj: Command = {
name: "blahaj", name: "blahaj",
desc: "Blahaj is the best.", desc: "Blahaj is the best.",
execute: () => { execute: () => {
setColors(Color("#88a7b9")); setColors(Color("#417988"));
return [" _________ . .", return [" _________ . .",
"(.. \\_ , |\\ /|", "(.. \\_ , |\\ /|",
" \\ O \\ /| \\ \\/ / ", " \\ O \\ /| \\ \\/ / ",