一个匹配随机用户的机器人?

Hi all, I hope this is in the right forum!

I run a number of community book club forums, and one feature we were thinking of starting was a bot that could connect two random users. The idea came from a bot I came across on an MS Teams meetup site, and I think it would increase conversation about the books.

Basically just a bot to send two users a message saying “Hi George, we’d like to introduce you to Bob, send a PM here” and vice versa.

Here’s the bot from MS Teams:

I’ve done a search, specifically to see if I could edit Discobot to do this, but I couldn’t find anything. Has this been done before?

Thank you!

2 个赞

Doesn’t need to be a’bot’. You can simply create a Job within a plugin that runs some Ruby code to identify and email the respective users.

3 个赞

Welcome @dinoscool3! I think you’ve come to the right place. I’m not quite sure if this will help, but check out Mingle - An Introductions Plugin. I’m not really familiar with it, but I think it’s at least close to what you’re looking for, perhaps if only to give you ideas to solve your actual goal.

I hope this helps!

4 个赞

Thanks to you both! I just had bot on the mind because that’s how I’ve seen it used previously. Just searching for a plugin makes a lot more sense. Mingle looks like its exactly what I’m looking for. Thank you!

3 个赞

discourse-automation can do this. We use it for our Secret Santa matching. I’m not sure when we’re releasing it yet though. @j.jaffeux will have more info.

4 个赞

Yes automation would do it, a mingle script is on my list. I don’t have a specific date yet, but release should be in the next 2 months.

6 个赞

Awesome! I’ll take a look at that too when it launches :slight_smile:

1 个赞

@j.jaffeux 你有没有启动你的mingle脚本?

Discourse 自动化 现已推出:

它有一个礼物交换自动化脚本。

2 个赞

很有意思!我会看看……但是这个礼物是否意味着他们是秘密匹配的?或者,即使没有交换礼物,它也可以用来匹配他们,让他们都知道对方。

我认为他们可能被秘密匹配了,但在这里调整或添加一个混合版本应该相当容易。