docs: Restructure apps documentation, add triggers and actions

This commit is contained in:
Faruk AYDIN
2022-11-01 22:08:54 +01:00
parent b63603afb6
commit 802a9bd2e2
33 changed files with 325 additions and 19 deletions

View File

@@ -0,0 +1,12 @@
---
items:
- name: Send a message to channel
desc: Send a message to a specific channel you specify.
avatar: /favicons/discord.svg
---
<script setup>
import CustomListing from '../../components/CustomListing.vue'
</script>
<CustomListing />

View File

@@ -0,0 +1,26 @@
# Discord
:::info
This page explains the steps you need to follow to set up the Discord
connection in Automatisch. If any of the steps are outdated, please let us know!
:::
1. Go to the [link](https://discord.com/developers/applications) to register a **new application** on Discord.
1. Fill **Name**.
1. Check the checkboxes.
1. Click on the **create** button.
1. Go to **OAuth2** > **General** page.
1. Copy the **Client ID** and save it to use later.
1. Reset the **Client secret** to get the initial client secret and copy it to use later.
1. Click the **Add Redirect** button to define a redirect URI.
1. Copy **OAuth Redirect URL** from Automatisch to **Redirect** field.
1. Save the changes.
1. Go to **Bot** page.
1. Click **Add Bot** button.
1. Acknowledge the warning and click **Yes, do it!**.
1. Click **Reset Token** to get the initial bot token and copy it to use later.
1. Fill the **Consumer key** field with the **Client ID** value we copied.
1. Fill the **Consumer secret** field with the **Client Secret** value we copied.
1. Fill the **Bot token** field with the **Bot Token** value we copied.
1. Click **Submit** button on Automatisch.
1. Congrats! Start using your new Discord connection within the flows.