إعداد إشعارات Slack باستخدام مكون إضافي discourse-chat-integration

Thanks for the guide!

Like an earlier poster, I’m hitting these errors:

/discourse failed with the error "dispatch_failed"

image

What might I be missing? I double checked the information that I’ve pasted screenshots of below.

Are there debug logs available for this? I checked Error Logs in Admin, and also sudo ./launcher logs app.

Please let me know what additional info I can provide to help debug this. Thank you!


Oauth scopes:

Slash command params

Verification & Oauth tokens

image

Interactivity settings

image

@stanislaw after you first asked and David responded, I implemented threaded replies, with David’s advice.

That topic shows how to configure it.

إعجابَين (2)

@Brad_Wood your suggestions and question sound interesting, so I don’t want them to get lost.

Would you mind moving the first 2 as a new topic in feature and tag it chat-integration, then moving your question to support a d tag it chat-integration too?

This would make it easier to follow/track and not get lost here.

I would have moved the post to a new topic for you, but seeing as you have feature requests and a question in the single post, I’d have to edit and create something new to move it, and I don’t want to do that.

إعجابَين (2)

@osioke I have created two new topics as you requested, however it appears I don’t have permissions to add tags.

If you could help me tag these posts or let me know how to tag them, I would appreciate the assistance.

إعجاب واحد (1)

Hi, I was running into this same issue (after following the steps exactly).

The thing that I was missing was enabling the top level chat integration plugin:

Enabling this got the integration to work as expected.

3 إعجابات

@ililic Thank you! That was it. :man_facepalming:

(Would be good to explicitly add this to the top-level instructions! @david)

Good idea :+1: I added it to the first step in the OP here:

3 إعجابات

What is the best way to set the bot to send Slack notification for ALL posts/replies in the forum?

Currently it seems that first you have to add all different topics separately and it still doesn’t work if someone posts in the subcategory of those topics.

A really odd thing happens when chat-integration is paired with DiscoTOC - automatic table of contents (cc @Johani)

The headings are now preceded by a link that does NOT go to the heading.

See screenshots below.
The original post

The preview in Slack

Result of clicking on the first link is just the homepage of the forum

إعجابَين (2)

أنا قادر على تلقي إشعارات على قناة Slack الخاصة بي في كل مرة ينشر فيها شخص ما رسالة جديدة على Discourse (إذا تمت إضافة علامة معينة في نفس الوقت).
السؤال: هل من الممكن تشغيل إشعارات Slack فقط عندما تتم إضافة علامة جديدة إلى موضوع Discourse موجود (لنفترض أن الموضوع تم إنشاؤه من قبل)؟

إعجاب واحد (1)

مرحباً - لقد قمنا بإعداد التكامل ونحصل على إشعارات Slack للمواضيع في فئة الدعم الخاصة بنا - ولكن هل من الممكن أيضًا الحصول على ملخص يومي للمنشورات عبر المنتدى بأكمله (أي، لإعلامنا بالنشاط، ولكن ليس المشكلات العاجلة)؟

قد يكون من المفيد القول إنه إذا تخطيت قسم أوامر الشرطة المائلة وعدت لاحقًا لإضافتها، فسيُطلب منك تثبيت التطبيق مرة أخرى لسبب غير مفهوم، مما يؤدي إلى تعطيل المكون الإضافي للدردشة ويظهر لك خطأ الإرسال.

لذلك، إذا عدت لإضافة أوامر الشرطة المائلة، فتأكد من إضافة الرموز والمعلومات الأساسية مرة أخرى في لوحة الإدارة.

لدي سؤال حول الأذونات.
أود أن أتمكن من تشغيل /discourse post بنفسي فقط بصفتي مالك مساحة عمل Slack. بمعنى آخر، لا أريد أن يرى المستخدمون الآخرون تطبيق Discourse Integration App، أو إذا رأوه، فلا أريدهم أن يتمكنوا من تشغيل /discourse post. هل هذا ممكن؟

مرحباً @david وأعضاء المجتمع الآخرين!

على حد علمي، يبدو أنني بحاجة إلى إعداد كل فئة فرعية بشكل منفصل في Discourse التي أرغب في نشرها على Slack.

بمعنى آخر، لا يمكنني فقط تحديد الفئة الرئيسية ليتم إرسالها إلى Slack ثم أتوقع أن يتم إرسال جميع الفئات الفرعية لتلك الفئة إلى Slack أيضًا.

يبدو أنني بحاجة إلى إعداد كل فئة فرعية بشكل منفصل. هل هذا صحيح؟

في الوضع المثالي، أود فقط اختيار فئة لإرسالها إلى Slack، وأن تكون جميع الفئات الفرعية جزءًا منها تلقائيًا.

شكرًا،
سكوت

أواجه نفس المشكلة. كيف يمكنني تلقي إشعارات Slack عند إضافة علامة إلى منشور موجود؟

أعتقد أنه تمت إضافة مرشح لـ ‘tag added to topic’، والذي أعتقد أنه يجب أن يفعل ما تريده:

إعجاب واحد (1)

هذا لا يعمل بشكل جيد أيضًا. لقد جربت هذا بالفعل.

إعجاب واحد (1)

هذا الفلتر يعمل فقط إذا كان المستخدم ينشئ مشاركة جديدة بهذا الوسم. إذا تمت إضافة الوسم إلى موضوع موجود، فلن يتم تشغيل الإشعار.

إعجاب واحد (1)

هممم. من اسم الالتزام، يبدو أنه من المفترض أن يتم تشغيله عند تغيير العلامات. :thinking:

دعني أرى ما يمكنني اكتشافه. :+1: