Skip to content

Commit

Permalink
Removed funding button.
Browse files Browse the repository at this point in the history
  • Loading branch information
moonstar-x committed Mar 19, 2022
1 parent 5ccc0ed commit 32e73b1
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 12 deletions.
1 change: 0 additions & 1 deletion .github/FUNDING.yml

This file was deleted.

7 changes: 1 addition & 6 deletions src/commands/misc/HelpCommand.js
Original file line number Diff line number Diff line change
Expand Up @@ -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] });
Expand Down
3 changes: 1 addition & 2 deletions src/common/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 0 additions & 1 deletion src/locales/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}**.',
Expand Down
1 change: 0 additions & 1 deletion src/locales/es.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.',
Expand Down
1 change: 0 additions & 1 deletion src/locales/fr.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.',
Expand Down

0 comments on commit 32e73b1

Please sign in to comment.