Um bot para combinar usuários aleatórios?

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 curtidas

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 curtidas

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 curtidas

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 curtidas

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 curtidas

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 curtidas

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

1 curtida

@j.jaffeux você já lançou seu script de mingle?

Automação do Discourse agora existe:

Ele tem um script de automação de troca de presentes.

2 curtidas

Interessante! Vou dar uma olhada… mas o presente significaria que eles seriam combinados secretamente? Ou poderia ser usado para combiná-los para que ambos se conheçam, mesmo que não haja troca de presentes.

Eu acho que eles podem ser combinados secretamente, mas deve ser razoavelmente fácil ajustar ou adicionar uma versão de mingle aqui.