Files

1.5 KiB

The purpose of this bot will be to assign targets to faction members during war

Features:

  • Round Robin assignation of war targets
  • check if the assigned enemy has been hit after 1 minute, if not reassign
  • match targets up with members that have the appropriate stats
  • dashboard to see who is supposed to hit who

ToDo:

  • API Key section
    • Have user enter their own API key, pass along to the functions that call APIs
  • server side config storage
    • have multiple managers logged in to make changes
  • basic auth
    • since control of the Discord bot would also be through there technically
  • add status description to member cards

For now let's pivot to the Discord Bot functionality. What the bot is going to do is for each battle group it needs to assign a friendly member to an enemy member. That friendly will then get a ping in Discord by pulling the list of Discord users and matching the player id to the user in the Discord server. It will ping them and say "New target for @user , attack (link to enemy profile) in the next 60 seconds!" If the enemies status does not change to "In Hospital" in the next 60 seconds that enemy will be assigned to the next player in the group that has not received a hit yet. We will also need to keep track of how many hits a friendly has completed. That way if a new friendly enters a pool they will get a chance to attack before the ones that have not had a chance We also need a button on the webpage to start and stop the bot