Heya all,
I'm currently writing a small bot & I noticed that - even though my bot is in my local discord server - the 'Guilds' property is empty. Is there a specific permission my bot needs, such that I can get the data from this property? My flow at this point is very basic, simply:
- Create the discord client
- LoginAsync (awaited)
- StartAsync (Awaited)
So, basically:
var client = _serviceProvider.GetRequiredService<DiscordSocketClient>();
await client.LoginAsync(TokenType.Bot, Environment.GetEnvironmentVariable("DISCORD_API_KEY_AC_BOT"));
await client.StartAsync();
where the client is confirmed not to be null.
Thanks!

