內容簡介
以下是本文的概要:
這個插件為您的Discord服務器提供了一個簡單的集成。
目前,它支持以下功能:
* 通過Discord註冊到您的WordPress網頁
* 從WordPress網頁映射角色到您的Discord服務器
配置插件
您需要進行一些配置,以正確設置插件。
首先,您必須在Discord中創建一個新的應用程序,以檢索客戶端ID和客戶端密鑰。這是啟用Discord登錄功能所需的。
為了啟用WordPress到Discord角色映射,您還必須創建一個機器人令牌並在插件的設置中提供它。
使用插件
安裝插件並進行必要的配置後,將在登錄表單上顯示通過Discord註冊的按鈕。
您也可以放置以下短代碼的按鈕:
[discord_login_button text=”Your text here”]
發展
這是一個開源插件。您可以通過GitLab自由貢獻。
支援
如果您遇到任何錯誤,您可以發送評論或在GitLab上打開問題(這是更可取的方式)。
外掛標籤
開發者團隊
② 後台搜尋「Handschrift's Discord Integration」→ 直接安裝(推薦)
原文外掛簡介
This plugin provides a simple integration for your discord server.
Currently, it supports the following features:
* Being able to log in via discord to your WordPress webpage
* Map roles from your WordPress webpage to your discord server
Configuring the plugin
You have to do some configuration to set up the plugin properly.
First, you have to create a new app at Discord to retrieve a clientid and a client secret. This is needed to enable the discord login functionality.
To enable the WordPress to discord role mapping, you also have to create a bot token and provide it in the settings of the plugin.
Using the plugin
After installing the plugin and doing the required configuration, a button to login via discord will be visible on the login form.
You can also place a button with the following shortcode:
[discord_login_button text=”Your text here”]
Development
This is an open source plugin. You can feel free to contribute via GitLab
Support
If you encounter any bugs you can either send a review or open an issue on GitLab (which is the much preferred way)
