Anyone have any experience with making temporary roles and adding members to them in bulk?
Trying to make an alert system that creates a role and fills it with members that needs to be pinged before it self-destructs.
This worked fine in testing since there was only 3 members to choose from. However when i moved it over to the server its going to live in it quickly died when having to add over 100 members to a role.
Was hoping for an api call where i could just supply a list of member id's and send it in one go. But no such luck.
Any ideas?
for member in role.members:
if member.id in members_with_kill:
continue
await member.add_roles(temp_role)
Theres the offending piece of code, takes several mins to process the 100 or so role_adds