# 有人能帮我在论坛上添加Discord的聊天选项吗？

**URL:** <https://meta.discourse.org/t/can-anyone-help-me-to-add-chat-option-of-discord-on-forum/237007>\
**Category:** Support\
**Created:** [2022年八月24日 01:36 UTC](https://meta.discourse.org/t/can-anyone-help-me-to-add-chat-option-of-discord-on-forum/237007 "2022-08-24T01:36:20Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)\
**Post date:** [2022年八月24日 05:07 UTC](https://meta.discourse.org/t/can-anyone-help-me-to-add-chat-option-of-discord-on-forum/237007/2 "2022-08-24T05:07:55Z")

</div>

您可以在设置中配置 Discord 登录，以便用户可以使用其 Discord 凭据登录到您的 Discourse：

> [@Configure Discord Login for Discourse](https://meta.discourse.org/t/configuring-discord-login-for-discourse/127129?u=merefield):
>
> bookmark This guide explains how to set up and configure Discord as a login option for your Discourse forum, including how to restrict access to specific Discord guilds. person_raising_hand Required user level: Administrator Once configured, Discord will appear as a login option alongside other authentication methods on your forum: Setting up Discord OAuth2 Creating a Discord application Visit the [Discord developer portal](https://discordapp.com/developers/applications/me) Click “New Application” Enter a name…

您可以添加此 TC：

> [@Discourse Discord Widget](https://meta.discourse.org/t/discourse-discord-widget/228270?u=merefield):
>
> clap This component is based on the work of Daniela (@dax)'s post [here](https://meta.discourse.org/t/how-to-display-discord-widget-in-a-dropdown-button/73719) and packages the information into an easily installable theme component. mag Overview This theme component allows you to add a Discord widget to your Discourse forum. gear Configuration & Setup For details on how to setup this theme component read [here](https://github.com/paviliondev/discourse-discord-widget#%EF%B8%8F-configuration--setup). octopus Code Repo Install Theme Component

您甚至可以从您的 Discourse 服务器运行一个机器人：

> [@Discord Bot Construction Kit robot](https://meta.discourse.org/t/discord-bot-construction-kit/122530?u=merefield):
>
> Purpose of this plugin This plugin does several things: Allows you to power a Discord bot using your Discourse server to do stuff to link the two systems. Fork this repo and expand it with simple Ruby to create all kinds of bot functionality. Existing functionality to serve as examples and useful utility: Provides some two-way auto posting of content that meet some criteria. Command to copy messages ad hoc to Discourse Command to sync group membership to role membership of your Discor…

---

_[View the full topic](https://meta.discourse.org/t/can-anyone-help-me-to-add-chat-option-of-discord-on-forum/237007)._
