From 32e73b17b9ee639d094f8fb00d0e78d7e9a4899a Mon Sep 17 00:00:00 2001 From: moonstar-x Date: Sat, 19 Mar 2022 13:10:51 -0500 Subject: [PATCH] Removed funding button. --- .github/FUNDING.yml | 1 - src/commands/misc/HelpCommand.js | 7 +------ src/common/constants.js | 3 +-- src/locales/en.js | 1 - src/locales/es.js | 1 - src/locales/fr.js | 1 - 6 files changed, 2 insertions(+), 12 deletions(-) delete mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index 0855d72c..00000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1 +0,0 @@ -ko_fi: moonstar_x diff --git a/src/commands/misc/HelpCommand.js b/src/commands/misc/HelpCommand.js index 9e82d489..18490309 100644 --- a/src/commands/misc/HelpCommand.js +++ b/src/commands/misc/HelpCommand.js @@ -44,12 +44,7 @@ class HelpCommand extends SlashCommand { .setStyle('LINK') .setEmoji('🐛') .setLabel(localizer.t('command.help.links.bug')) - .setURL(MESSAGE_EMBED.helpURL), - new MessageButton() - .setStyle('LINK') - .setEmoji('☕') - .setLabel(localizer.t('command.help.links.kofi')) - .setURL(MESSAGE_EMBED.kofiURL) + .setURL(MESSAGE_EMBED.helpURL) ); return interaction.reply({ embeds: [embed], components: [row] }); diff --git a/src/common/constants.js b/src/common/constants.js index 5901ea2d..ae19372c 100644 --- a/src/common/constants.js +++ b/src/common/constants.js @@ -3,8 +3,7 @@ const MESSAGE_EMBED = { langThumbnail: 'https://i.imgur.com/QbNXO4q.jpg', langURL: 'https://github.com/moonstar-x/discord-tts-bot#language-support', helpThumbnail: 'https://i.imgur.com/kzy3cTK.png', - helpURL: 'https://github.com/moonstar-x/discord-tts-bot/issues', - kofiURL: 'https://ko-fi.com/moonstar_x' + helpURL: 'https://github.com/moonstar-x/discord-tts-bot/issues' }; const EMBED_FIELD_MAX_SIZE = 1024; diff --git a/src/locales/en.js b/src/locales/en.js index 0bd04127..d33d090c 100644 --- a/src/locales/en.js +++ b/src/locales/en.js @@ -35,7 +35,6 @@ const COMMAND = { 'command.help.embed.title': 'Text-to-Speech Help Message', 'command.help.links.bug': 'Spotted a bug? Report it!', - 'command.help.links.kofi': 'Buy me a coffee', 'command.google.settings.default.language.invalid': "That's not a valid language. Type **/google_langs** for a list of available languages.", 'command.google.settings.default.language.success': 'You have successfully changed the default language to **{language}**.', diff --git a/src/locales/es.js b/src/locales/es.js index aaeae6c8..1e879583 100644 --- a/src/locales/es.js +++ b/src/locales/es.js @@ -35,7 +35,6 @@ const COMMAND = { 'command.help.embed.title': 'Mensaje de ayuda de Text-to-Speech', 'command.help.links.bug': '¿Encontraste un bug? ¡Repórtalo!', - 'command.help.links.kofi': 'Cómprame un café', 'command.google.settings.default.language.invalid': 'Ese no es un idioma válido. Escribe **/google_langs** para obtener una lista de los idiomas disponibles.', 'command.google.settings.default.language.success': 'Has cambiado el idioma por defecto a **{language}** con éxito.', diff --git a/src/locales/fr.js b/src/locales/fr.js index 89b3c399..b0a50990 100644 --- a/src/locales/fr.js +++ b/src/locales/fr.js @@ -35,7 +35,6 @@ const COMMAND = { 'command.help.embed.title': "Message d'aide Text-to-Speech", 'command.help.links.bug': 'Vous avez repéré un bug ? Signalez-le !', - 'command.help.links.kofi': 'Achète-moi un café', 'command.google.settings.default.language.invalid': "Cela n'est pas une langue valide. Utilisez **/google_langs** pour obtenir une liste de toutes les langues disponibles.", 'command.google.settings.default.language.success': 'Vous avez changé la langue par défaut à **{language}** avec succès.',