Skip to content

Commit

Permalink
Fix error where new guilds are not registered
Browse files Browse the repository at this point in the history
  • Loading branch information
j4asper committed Nov 2, 2024
1 parent 1ba3174 commit 1abcdd4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion KanbanCord/Extensions/ServiceCollectionExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ public static ServiceCollection AddDatabase(this ServiceCollection services)

public static ServiceCollection AddDiscordConfiguration(this ServiceCollection services)
{
const DiscordIntents intents = DiscordIntents.None;
const DiscordIntents intents = DiscordIntents.None
| DiscordIntents.Guilds;

services.AddDiscordClient(EnvironmentHelpers.GetBotToken(), intents)
.Configure<DiscordConfiguration>(discordConfiguration =>
Expand Down

0 comments on commit 1abcdd4

Please sign in to comment.