Jump to content

Game Lobby Bot for choosing teams


Recommended Posts

Hey, I've gotten back into coding a little bit, and I'd like to try to make a cool bot for the game lobby (not the general lobby).

Does anyone have any hello-world lobby bot to help me get started?

My idea is make something for choosing teams.  An initial version might work like this:

The host writes "/captains  <user1>  <user2>"
The bot gives feedback listing all the users and asking user1 to choose someone.
Then the bot asks user2 to make TWO choices of team members.
Then it alternates until the teams are full.

After every choice, the bot lists the teams, and the available spectators.

Edge cases:
If the host gives the command again, the process starts again.
If a chosen team member leaves the process starts again.  (or else we can rely on the host re-starting the selection)


That's about it for version 1.  The host can be burdened with setting the actual teams.  The bot can simply produce text output.

If anyone can point me in the right direction, I'd appreciate it.




 

  • Thanks 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...