From dabd0e64ba7c69472a6db27e18f2424bdc99cbff Mon Sep 17 00:00:00 2001 From: breadddevv Date: Thu, 13 Aug 2026 22:52:19 +0100 Subject: [PATCH] Added Buy me a coffee --- package-lock.json | 2 +- package.json | 1 + src/commands/info.ts | 6 ++++++ src/events/onServerAdd.ts | 3 ++- 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 92b6867..86e831b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,6 +14,7 @@ "axios": "^1.16.0", "chalk": "^4.1.2", "discord.js": "^14.27.0", + "dotenv": "^17.4.2", "pg": "^8.20.0", "tsx": "^4.21.0", "zod": "^4.4.3" @@ -1721,7 +1722,6 @@ "version": "17.4.2", "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-17.4.2.tgz", "integrity": "sha512-nI4U3TottKAcAD9LLud4Cb7b2QztQMUEfHbvhTH09bqXTxnSie8WnjPALV/WMCrJZ6UV/qHJ6L03OqO3LcdYZw==", - "devOptional": true, "license": "BSD-2-Clause", "engines": { "node": ">=12" diff --git a/package.json b/package.json index 7c1efc2..af3631c 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,7 @@ "axios": "^1.16.0", "chalk": "^4.1.2", "discord.js": "^14.27.0", + "dotenv": "^17.4.2", "pg": "^8.20.0", "tsx": "^4.21.0", "zod": "^4.4.3" diff --git a/src/commands/info.ts b/src/commands/info.ts index 9c4ab21..6ff005e 100644 --- a/src/commands/info.ts +++ b/src/commands/info.ts @@ -121,6 +121,11 @@ export default new Command({ .setLabel("Our Repository") .setURL("https://boostify.breaddevv.cc/github"); + const buyMeACoffee = new ButtonBuilder() + .setStyle(ButtonStyle.Link) + .setLabel("Buy Me A Coffee!") + .setURL("https://buymeacoffee.com/breaddevv"); + const topgg = new ButtonBuilder() .setStyle(ButtonStyle.Link) .setLabel("Support Us On Top.gg") @@ -134,6 +139,7 @@ export default new Command({ repo ); const actionRow2 = new ActionRowBuilder().setComponents( + buyMeACoffee, topgg ); diff --git a/src/events/onServerAdd.ts b/src/events/onServerAdd.ts index 7546fc9..71efe83 100644 --- a/src/events/onServerAdd.ts +++ b/src/events/onServerAdd.ts @@ -15,6 +15,7 @@ export default { const privacy = new ButtonBuilder().setLabel('Privacy Policy').setURL('https://boostify.breaddevv.cc/privacy').setStyle(ButtonStyle.Link); const github = new ButtonBuilder().setLabel('Our Repository').setURL('https://boostify.breaddevv.cc/github').setStyle(ButtonStyle.Link); const topgg = new ButtonBuilder().setLabel('Support Us On Top.gg!').setURL('https://top.gg/bot/1453802179789066442').setStyle(ButtonStyle.Link); + const buyMeACoffee = new ButtonBuilder().setLabel("Buy Me A Coffee!").setURL("https://buymeacoffee.com/breaddevv").setStyle(ButtonStyle.Link); const container = new ContainerBuilder().addSectionComponents(comp => comp @@ -28,7 +29,7 @@ export default { .setThumbnailAccessory(accessory => accessory.setURL(avatarUrl)) ) .addTextDisplayComponents(text => text.setContent(`-# You're receiving this text because you/other member added me to the server **${guild.name}** — In which you're the owner!`)) - .addActionRowComponents(row => row.addComponents(termsBtn, privacy, github, topgg)) + .addActionRowComponents(row => row.addComponents(termsBtn, privacy, github, topgg, buyMeACoffee)) .setAccentColor(SystemColors.main); await owner.send({