Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: wwyd replay button #68

Merged
merged 2 commits into from
Apr 23, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix help
Co-Authored-By: Finn Kötting <69923589+finnkoetting@users.noreply.github.com>
  • Loading branch information
mezotv and finnkoetting committed Apr 22, 2023
commit 972855f7f51722020910563a8a43e8fe27d982e8
796 changes: 726 additions & 70 deletions package-lock.json

Large diffs are not rendered by default.

60 changes: 0 additions & 60 deletions src/commands/either.js

This file was deleted.

25 changes: 0 additions & 25 deletions src/commands/emit.js

This file was deleted.

2 changes: 1 addition & 1 deletion src/commands/help.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ module.exports = {
inline: false,
},
)
.setDescription(client.translation.get(guildDb?.language, 'Help.embed.description'), `\n\n${commands.filter(e => e.name !== "reload").sort((a, b) => a.name.localeCompare(b.name)).map(n => `</${n.name}:${n.id}> - ${type === "de" ? n.descriptionLocalizations.de : type === "es" ? n.descriptionLocalizations["es-ES"] : n.description}`).join("\n")}`);
.setDescription(client.translation.get(guildDb?.language, 'Help.embed.description') + `\n\n${commands.filter(e => e.name !== "reload").sort((a, b) => a.name.localeCompare(b.name)).map(n => `</${n.name}:${n.id}> - ${type === "de" ? n.descriptionLocalizations.de : type === "es" ? n.descriptionLocalizations["es-ES"] : n.description}`).join("\n")}`);

const button = new ActionRowBuilder().addComponents(
new ButtonBuilder()
Expand Down
2 changes: 1 addition & 1 deletion src/languages/de_DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
"name": "**Meine Befehle**",
"value": "`/wouldyou` - Starte Diskussionen über zufällige Kräfte\n`/ping` - Pong!\n`/language` - Ändere die Sprache auf dem Server\n`/help` - Zeigt diese info\n`/rather` - Gibt dir zwei Kräfte aus denen du wählen kannst\n`/custom` - Sende eine benutzerdefinierte Would You Nachricht in den Chat!\n`/wwyd` - Sendet eine was würdest du tun Frage in den Chat!\n`/welcome` - Hinzufügen oder Entfernen des Willkommenskanals\n`/support` - Solltest du Hilfe benötigen, nutze diesen Befehl und wir helfen dir gerne weiter!",
"privacyname": "**Datenschutzbestimmung**",
"privacy": "Wir schätzen deine Privatsphäre sehr. Wenn du wissen möchtest, was mit deinen daten passiert, dann schaue dir unsere Datenschutzbestimmungen [hier](https://raw.githubusercontent.com/Developer-Dungeon-Studio/Would-You/main/PRIVACY-POLICY) an."
"privacy": "Wir schätzen deine Privatsphäre sehr. Wenn du wissen möchtest, was mit deinen daten passiert, dann schaue dir unsere Datenschutzbestimmungen [hier](https://wouldyoubot.gg/privacy) an."
}
},
"button": {
Expand Down
2 changes: 1 addition & 1 deletion src/languages/en_EN.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
"name": "**My Commands**",
"value": "`/Would You` - Start a discussion about random powers\n`/ping` - Pong!\n`/language` - Change the language of the bot for the server\n`/help` - Shows this info\n`/rather` - Gives you two powers to choose from\n`/custom` - Sends a custom would you message in the chat!\n`/wwyd` - Sends a what would you do question in the chat\n`/welcome` - Add or remove the welcome channel!\n`/support` - If you ever need help on the bot, use this command to get help from the support team!",
"privacyname": "**Privacy Policy**",
"privacy": "We value your privacy. If you have any concerns about your data, check out privacy policy [here](https://raw.githubusercontent.com/Developer-Dungeon-Studio/Would-You/main/PRIVACY-POLICY)."
"privacy": "We value your privacy. If you have any concerns about your data, check out privacy policy [here](https://wouldyoubot.gg/privacy)."
}
},
"button": {
Expand Down
2 changes: 1 addition & 1 deletion src/languages/es_ES.json
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
"name": "**Mis Comandos**",
"value": "`/Would You` - Inicia una discusión sobre poderes aleatorios.\n`/ping` - Pong!\n`/language` - Cambia el idioma del bot para el servidor.\n`/help` - Muestra esta información.\n`/rather` - Te da dos poderes para elegir.\n`/custom` - envía un mensaje personalizado en el chat!\n`/welcome` - ¡Agrega o elimina el canal de bienvenida!\n`/support`: si alguna vez necesitas ayuda con el bot, ¡usa este comando para obtener ayuda del equipo de soporte!",
"privacyname": "**Política de privacidad**",
"privacy": "Valoramos tu privacidad. Si tienes alguna duda sobre tus datos, consulta nuestra política de privacidad [aquí](https://raw.githubusercontent.com/Developer-Dungeon-Studio/Would-You/main/PRIVACY-POLICY)."
"privacy": "Valoramos tu privacidad. Si tienes alguna duda sobre tus datos, consulta nuestra política de privacidad [aquí](https://wouldyoubot.gg/privacy)."
}
},
"button": {
Expand Down
Loading