Discord の Discourse 信頼レベル

I’m all for using oauth2 or any other means of eliminating user malice and/or error.

I was just proposing a quick and dirty solution to getting around the discord email look up problem.

The work to achieve that was done months ago by @featheredtoast and if that’s all you need you can install the plugin which @falco linked above.

As to the scope of this topic, building on that link to sync trust levels, if you can’t wait for @sudaraka to finish his work your other option is to post over on Marketplace. Include your proposed budget to see whether another developer would be willing to build this for you sooner.

Yes. This is correct as far as I can tell, being a user of both plugins.

Patreon requires log-in via Patreon, then syncs your account to your pledge tier.

Would be great to sync Discord roles via Discourse, since Discourse has the information via Patreon already once logged in.

I’d like to gauge interest for an Discourse plugin that does the following:

  1. An administrative interface for an admin to connect their Discourse instance to a Discord instance via the Discord API. The authentication would be via OAuth 2.

  2. Controls to associate Discourse Groups with Discord Roles, so that members of a group have a certain discord role and vice versa.

Note that this won’t involve or rely on Discord OAuth as a method of user account authentication. The goal is a have a solution that is agnostic about the way you let you users sign up / login.

In terms of identifying users across both platforms, this will be handled by associating ids as a first step, then by email if the relevant id is not available.

If you’re interested in sponsoring such a plugin, now’s your chance. I have time to work on it next week.

@Bernstein @Hanzo1 @Watercolor_Games

Just an update here, we’re going ahead with building this.

Further details here:

https://discourse.angusmcleod.com.au/t/discourse-discord-oauth-integration/1103

If you want to sync Discourse Groups and Discord Roles, we’d appreciate a contribution to the Paypal pool for this work here (currently one sponsor):

*Update

@Hanzo1 @Wedgebert @chagara Are you guys still interested in syncing Discourse and Discord Groups and Roles? If so, we’re in the process of building an integration and need a few more backers to hit our (relatively speaking) low target of $1000 USD. Any contributions > $100 welcome.

We’re interested, but I’ll have to talk to our treasurer about getting donation money together.

I just chipped in some, we’re almost at the target.

For anybody here who is lurking and considering it, I want to emphasize how incredibly reasonable of a funding goal this is for such useful functionality.

There’s one day left and we’re currently $300 short. If you’re even slightly interested in this, now’s your chance to make it happen. :smiley:

We’ll be donating as soon as the person with access to the PayPal account gets online and does it.

Hey guys, just wanted to say I’m still following the project. Though I’ve moved away from using a forum specifically for my community, (we moved to reddit), it’s really awesome to see my MacGyvered-together proof of concept turn into a reality. I haven’t been able to follow the project much due to highschool and other personal reasons, but things are really shaping up from what I can tell. Good luck, guys! :slight_smile:

Donation has been made

Perfect advice :+1:

Heads up (and @featheredtoast) I’m working on a PR for this plugin to

  • change the class inheritance up a level to Auth::ManagedAuthenticator to
    • leverage the richer functionality to simplify the plugin
    • bring the implementation in line with Facebook and Google OAuth (storing additional info in user_associated_accounts)
  • store the user ID to facilitate my next step … :wink:

UPDATE: Submitted

これはとても興味深いアイデアですね!これからどう発展していくか楽しみにしています。

統合に関するさらなる大きな進展がありました… 見つけられますか?:robot: :wink: (@falco さんのおかげで、障害をクリアできました)

=> Puma を起動中
=> Rails 5.2.3 アプリケーションを development モードで起動中
=> 詳細な起動オプションは `rails server -h` を参照してください
CSS 変更ウォッチャーを起動中
-------------------------------------
ボットが生成されました。Discord で「Ping!」と入力してください!
-------------------------------------
[INFO : websocket @ 2019-06-30 11:00:05.038] Discord が使用しているゲートウェイプロトコルバージョン: 6、要求されたバージョン: 6
Puma をシングルモードで起動中...
* バージョン 3.12.1 (ruby 2.6.1-p33)、コードネーム: Llamas in Pajamas
* 最小スレッド数: 0、最大スレッド数: 16
* 環境: development
* tcp://0.0.0.0:3000 でリスニング中
停止するには Ctrl-C を押してください

このボットは、私の Discourse プラグインで実行されているコードによって決定された Discord 上で応答しています。

なお、これは現時点では概念実証であり、本番環境での使用にはまだ時間がかかる可能性があります!

Discourse の信頼レベルに応じて、Discord でのキック機能を実装しました。

必要に応じて、Discourse フォーラムで最低限の信頼レベルに達していないユーザーを、Discord サーバーからすべてキックすることも可能です。

この機能をパッケージ化してプラグインとして公開する準備ができていませんが、今後の展開にご期待ください。

OK、キック機能が動作するようになりました。表示されているのは、Discourse の本番環境で動作しています(ボットのロジックです。もちろん、スクリーンショットは Discord のものです :D)。

まだテストを続ける必要があります。バグを修正する必要があります(特にグループ同期に関するもの)し、設定手順を案内するためのドキュメントも大量に作成する必要があります(残念ながら、これは単純ではありません)。

また、初日からグループの「同期」(提供された条件に応じて Discourse のグループとメンバーシップをコピーする)もサポートします。

NB ターゲットまでまだ 200 ドル不足しています。

これは大規模な作業でした。

これまでに貢献してくださった皆様に感謝します。サポーターは優先的に設定サポートを受けることができます。

貢献しようとしたのですが、「プールが終了しました」と表示されました。

さらに @merefield の活動をサポートするための新しいプールを作成しました(残念ながら、PayPal はプールの再オープンができないため):

@merefield と私は協力して活動しています)

おお、ジェフ、ありがとう!!!

ええ、すでに明らかかもしれませんが、アンガスと私は今、多くの業務で協力しており、実際、私たちのチームも成長しています…

ありがとうみんな :grinning:

このプラグンの資金調達は完了し、プラグンはここで公開されました:Discord Bot Construction Kit 🤖

… 新しいプラグンに関する議論は、そちらで続けてください。