From d51b7f2807549ddaac98a9f2fd899c05cb771db8 Mon Sep 17 00:00:00 2001 From: JandereDev Date: Thu, 26 May 2022 15:15:40 +0200 Subject: [PATCH] add contact field to discord help command --- bridge/src/discord/commands.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bridge/src/discord/commands.ts b/bridge/src/discord/commands.ts index 0289399..b456a61 100644 --- a/bridge/src/discord/commands.ts +++ b/bridge/src/discord/commands.ts @@ -156,6 +156,15 @@ client.on('interactionCreate', async interaction => { `click [here](${INVITE_URL} "Add Discord bot").` ); + embed.addField( + 'Contact', + `If you have any questions regarding this bot or the Revolt counterpart, feel free to join ` + + `[this](https://discord.gg/4pZgvqgYJ8) Discord server or [this](https://rvlt.gg/jan) Revolt server.\n` + + `If you want to report a bug, suggest a feature or browse the source code, ` + + `feel free to do so [on GitHub](https://github.com/janderedev/automod).\n` + + `For other inquiries, please contact \`contact@automod.me\`.` + ); + await interaction.reply({ embeds: [ embed ], ephemeral: true }); break;