dignityofwar / diglet-bot

TypeScript Discord bot serving the Dignity of War community.
1 stars 0 forks source link

Albion: Activity report #164

Open Nightraven3721 opened 1 month ago

Nightraven3721 commented 1 month ago

Command: /albion-activity server:X

Output: A list of all players of Server X with their last date of interaction with the server

Possible with registration date to compare?

Maelstromeous commented 1 month ago

Requirements

  1. Create new command called /albion-activity
  2. Create a new AlbionActivityReport service.
  3. Pull in all registrants from the AlbionRegistrationsEntity repository.
  4. Pull in associated Discord IDs from the ActivityEntity repository.
  5. Loop though the registrants and create a new data object with format:
    1. (DC: )
    2. Registered:
    3. Last Active: (X days ago)
  6. Output report to user via channel source in format:
    • @Username - LA: 18th July 2024 (X days ago) | Registered: 21st June 2024 (X months ago)