Discord said a software bug in its moderation systems wrongly banned thousands of accounts, a reminder that automated enforcement can turn into an outage when it makes the wrong call at scale.