Un bot pour associer des utilisateurs aléatoires ?

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 « J'aime »

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 « J'aime »

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 « J'aime »

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 « J'aime »

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 « J'aime »

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 « J'aime »

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

1 « J'aime »

@j.jaffeux as-tu déjà lancé ton script mingle ?

Automatisation Discourse existe maintenant :

Elle possède un script d’automatisation d’échange de cadeaux.

2 « J'aime »

Intéressant ! Je vais y jeter un œil… mais le cadeau signifierait-il qu’ils sont mis en relation secrètement ? Ou pourrait-il être utilisé pour les mettre en relation afin qu’ils se connaissent tous les deux, même s’il n’y a pas d’échange de cadeaux.

Je pense qu’ils pourraient être mis en correspondance secrètement, mais il devrait être raisonnablement facile d’ajuster ou d’ajouter une version de mélange ici.