Jump to content

Game Lobby Bot for choosing teams


RangerK
 Share

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...