ZeldaFan0225/AI_Horde_Discord

Allow me to send kudos to all users in a role

Closed this issue · 4 comments

db0 commented

Kinda follows up on #36

It would be nice to have a command which someone can run to give kudos to all logged-in users in a certain role.

As an addition, perhaps a way to somehow check how many logged-in users a role has

im not sure this would be a good idea because i have to do one of the following:

  • fetch all users (that have a role) in the server and check who is logged in
    OR
  • fetch all users from the database, check which of them are in the server

both of which would be a huge spam mess on the discord api (and the database)

db0 commented

The first approach seems like it would be they most straightforward. Doesn't discord have an api that returns users in a role?

there is no way to retrieve users with x role via the discord api

db0 commented

Daym, ok that is indeed unexpected. Nevermind then