From 27afb3dd222a38d1adbedeebdf2cb155a8be374f Mon Sep 17 00:00:00 2001
From: Ethan Lane <ethan@vylpes.com>
Date: Sat, 28 Jan 2023 14:53:23 +0000
Subject: [PATCH 1/2] Fix not having a link set in the config crashing the bot

---
 .dev.env              | 2 +-
 .prod.env             | 2 +-
 .stage.env            | 2 +-
 src/commands/about.ts | 4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/.dev.env b/.dev.env
index 199bb0a..fb4a31c 100644
--- a/.dev.env
+++ b/.dev.env
@@ -13,4 +13,4 @@ BOT_OWNERID=147392775707426816
 BOT_CLIENTID=682942374040961060
 
 ABOUT_FUNDING=https://ko-fi.com/vylpes
-ABOUT_REPO=https://github.com/vylpes/vylbot-app
+ABOUT_REPO=https://gitea.vylpes.xyz/RabbitLabs/vylbot-app
diff --git a/.prod.env b/.prod.env
index c4fd73a..f0c75d5 100644
--- a/.prod.env
+++ b/.prod.env
@@ -13,4 +13,4 @@ BOT_OWNERID=147392775707426816
 BOT_CLIENTID=680083120896081954
 
 ABOUT_FUNDING=https://ko-fi.com/vylpes
-ABOUT_REPO=https://github.com/vylpes/vylbot-app
+ABOUT_REPO=https://gitea.vylpes.xyz/RabbitLabs/vylbot-app
diff --git a/.stage.env b/.stage.env
index 85e3068..9b90831 100644
--- a/.stage.env
+++ b/.stage.env
@@ -13,4 +13,4 @@ BOT_OWNERID=147392775707426816
 BOT_CLIENTID=1016767908740857949
 
 ABOUT_FUNDING=https://ko-fi.com/vylpes
-ABOUT_REPO=https://github.com/vylpes/vylbot-app
+ABOUT_REPO=https://gitea.vylpes.xyz/RabbitLabs/vylbot-app
diff --git a/src/commands/about.ts b/src/commands/about.ts
index b1ad17b..5da00b8 100644
--- a/src/commands/about.ts
+++ b/src/commands/about.ts
@@ -31,7 +31,7 @@ export default class About extends Command {
                 value: process.env.BOT_AUTHOR!,
                 inline: true,
             },
-        ])
+        ]);
 
         const row = new ActionRowBuilder<ButtonBuilder>();
 
@@ -51,6 +51,6 @@ export default class About extends Command {
                     .setStyle(ButtonStyle.Link));
         }
 
-        await interaction.reply({ embeds: [ embed ]});
+        await interaction.reply({ embeds: [ embed ], components: row.components.length > 0 ? [ row ] : [] });
     }
 }
\ No newline at end of file

From 6d7dc26e091b1beb665777007c9053ace69d147a Mon Sep 17 00:00:00 2001
From: Ethan Lane <ethan@vylpes.com>
Date: Wed, 1 Feb 2023 17:33:13 +0000
Subject: [PATCH 2/2] Update random-bunny to v2.0.5

---
 package.json |  2 +-
 yarn.lock    | 14 ++++++++++----
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/package.json b/package.json
index 2ab4f46..5fe1e24 100644
--- a/package.json
+++ b/package.json
@@ -35,7 +35,7 @@
     "jest-mock-extended": "^3.0.0",
     "minimatch": "3.1.2",
     "mysql": "^2.18.1",
-    "random-bunny": "^2.0.0",
+    "random-bunny": "^2.0.5",
     "ts-jest": "^27.1.2",
     "typeorm": "^0.2.44",
     "uuid": "^9.0.0"
diff --git a/yarn.lock b/yarn.lock
index f5a318c..69249c2 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2219,6 +2219,11 @@ levn@~0.3.0:
     prelude-ls "~1.1.2"
     type-check "~0.3.2"
 
+linqts@^1.14.4:
+  version "1.14.4"
+  resolved "https://registry.yarnpkg.com/linqts/-/linqts-1.14.4.tgz#0aa0f78fc6be073d7db874e0a0480fda5d06db7d"
+  integrity sha512-b5sJjG1ZQ8iLSTJV19jWgMLoQicrQVVRkkQN7B/aboU+cf30lgnhIoGM8vEjqPxZFpryDU78PFpuTnfYNIHMeg==
+
 locate-path@^5.0.0:
   version "5.0.0"
   resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0"
@@ -2572,13 +2577,14 @@ quick-lru@^5.1.1:
   resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-5.1.1.tgz#366493e6b3e42a3a6885e2e99d18f80fb7a8c932"
   integrity sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==
 
-random-bunny@^2.0.0:
-  version "2.0.0"
-  resolved "https://registry.yarnpkg.com/random-bunny/-/random-bunny-2.0.0.tgz#f9950f53c7f5183a6dad26386db14f702d477cf7"
-  integrity sha512-xIDaPghs0nslKWNfxDLAGNtsUPUlmNagUmdNAHP7U4LSrGySbgSfAzCV8eECTeuny2csmf0SL5dBxEZdVvHgOA==
+random-bunny@^2.0.5:
+  version "2.0.5"
+  resolved "https://registry.yarnpkg.com/random-bunny/-/random-bunny-2.0.5.tgz#7a6fabc34c1999b13bc30eeb95c92d5cfa743fcb"
+  integrity sha512-pVSAufABfk1oBR32+gqkvs4s7d0pqKd3wxD09arPbgpR4mEDOVI4yx/BhU4fxyxFKgFnP01fDDAc6jSvr8WWzA==
   dependencies:
     glob-parent "^6.0.0"
     got "^11.8.3"
+    linqts "^1.14.4"
 
 react-is@^17.0.1:
   version "17.0.2"