fixed intents

This commit is contained in:
Sarah Faey 2022-12-19 22:22:56 +01:00
parent 412e707e25
commit 05487cba84

View file

@ -21,7 +21,7 @@ namespace DiscordBot
var discordConfig = new DiscordSocketConfig() var discordConfig = new DiscordSocketConfig()
{ {
AlwaysDownloadUsers = true, AlwaysDownloadUsers = true,
GatewayIntents = GatewayIntents.GuildMembers GatewayIntents = GatewayIntents.Guilds | GatewayIntents.GuildMembers
}; };
var builder = WebApplication.CreateBuilder(args); var builder = WebApplication.CreateBuilder(args);