I mean... Technically we fixed the security issue, right? (#4556)

This commit is contained in:
jack1142 2020-10-28 02:34:11 +01:00 committed by GitHub
parent 868059f062
commit 532ac6cfa9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -460,7 +460,7 @@ class KickBanMixin(MixinMeta):
to_query = to_query[100:]
# Call `ban_user()` method for all users that turned out to be guild members.
for member in members:
for user_id, member in members.items():
try:
success, reason = await self.ban_user(
user=member, ctx=ctx, days=days, reason=reason, create_modlog_case=True