Discord Bot erstellen
Parameter
botIdbotTokenoAuthSecretreturnUrl(Standard:https://oauth.cofys.de/oauth/discord/)
Erstellen
Auf https://discord.com/developers/applications > 'New Application' eine neue Anwendung erstellen.
General Information
Die Application ID kopieren (Parameter botId).
Installation
Installation Contexts
Guild Install
Install Link
Discord Provided Link
Default Install Settings
Scopes > application.commands bot
Permissions > Manage Roles
OAuth2
Client Information
Unter 'Client Secret' auf 'Reset Secret' klicken und das Secret kopieren (Parameter oAuthSecret).
Redirects
Folgende URLs eintragen:
https://oauth.cofys.de/discord/return/
https://oauth.cofys.de/discord/install/
alternativ:
[instance url]/auth/discord/return/
[instance url]/auth/discord/install/
und [instance url] durch die URL der Cofys-Instanz ersetzen.