Susannova / Discord_Bot

A configurable discord bot that can run on multiple servers simultaneously.
MIT License
2 stars 1 forks source link

Rewrite !create-team #119

Closed Susannova closed 4 years ago

Susannova commented 4 years ago

Code is much cleaner now and uses converters but the command is also a little bit different:

  1. To tell the command to move the players in the team channels you can now use an optional argument that can be converted to a bool. Examples:
    • !create-team t member1 member2: Will move the players
    • !create-team yes member1 member2: Will move the players
    • !create-team f member1 member2 Doesn't move the players
    • !create-team member1 member2 Doesn't move the players
    • !create-team mv member1 member2 Doesn't move the players and the bot will think that mv is a player name
  2. If a player is written like this, they are mentioned in the team message and can be moved. Otherwise (of course) not.
  3. Command is only avaible for users with the member_id
  4. You will be moved to the channels even if you are not in the same voice channel like the user, that started the command.

Close #115