When they were a gaming oriented platform they were called Guilds. They still are in the API. https://docs.discord.com/developers/resources/guild