It is more of the content inside GitHub is widely accessible without needing to log in whereas Discord are not really accessible and often would need "invitation link" to find those servers. GitHub is far more public in this sense than Discord is. Discord/Slack is a instant message system, far different, than forums style which are "static", which make archival extremely difficult to do in Discord/Slack.