ritsec / ops-bot-iii

OBIII: Open Source Discord Bot, created by RITSEC
Apache License 2.0
5 stars 3 forks source link

Have the user's username next to the userID in the query #95 #103

Closed c0untingNumbers closed 4 months ago

c0untingNumbers commented 4 months ago

Treasurer requested for an option of a csv file of usernames

closes #95 https://github.com/ritsec/ops-bot-iii/issues/95

1nv8rzim commented 4 months ago

Names used to be part of this, but Discord does ratelimiting with exponential backoff for resolving usernames via the api meaning that this query will take forever, for anything larger than like 10/20 people iirc

c0untingNumbers commented 4 months ago

This option is mostly going to be used by Treasurer. He's not going to use it too often.

I talked to the Treasurer about the query taking forever. He said he just needs it for receipts for competitions and meetings and I guess he doesn't mind waiting for it?

1nv8rzim commented 4 months ago

I might have not been clear before when I said query will take forever, I didn't mean like a couple minutes, I mean like long enough that discord will not be able to access the interaction anymore and just not be able to send the results.

c0untingNumbers commented 4 months ago

Okay, not updating the main OBIII until I add some what of a delay for each call