Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add self-configuration ability to bot starting with aliases.json #55

Open
invicta-nz opened this issue Aug 20, 2020 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@invicta-nz
Copy link
Collaborator

invicta-nz commented Aug 20, 2020

Experience with a 10 team event has shown that automation is going to be needed for the bot to self-configure for wider use in league. Right now the main file to be modified is aliases.json, but a general system to allow for modifying servers.json as well would be wise to consider.

Requirements:
A process to read current .json files, write backup then write updated files then re-read into memory (or trigger restart of bot)
A set of the following commands to update alias.json file:

  • ;add_player_alias {alias} {SteamID}
  • ;remove_player_alias {SteamID}
  • ;add_team_alias {teamname} {SteamID}, {SteamID}, ....
  • ;remove_team_alias {teamname}
  • ;add_player_team {teamname} {SteamID}
  • ;remove_player_team {teamname} {SteamID}
@invicta-nz invicta-nz added the enhancement New feature or request label Aug 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant