Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Adam Molnar commited on
Update app.py
Browse files207 unmodified lines208209210211212213207 unmodified linesprint(f"Could not DM user before ban: {dm_err}")await member.ban(reason=f"Auto-ban: reached {spam_count} spam alerts within ~{cooldown_duration}s inter-arrival window")207 unmodified lines208209210211212213214207 unmodified linesprint(f"Could not DM user before ban: {dm_err}")await member.ban(delete_message_seconds=600, # delete all messages from past 10 minutesreason=f"Auto-ban: reached {spam_count} spam alerts within ~{cooldown_duration}s inter-arrival window")
app.py+1