diff --git a/src/EllieBot/Services/GrpcApi/OtherSvc.cs b/src/EllieBot/Services/GrpcApi/OtherSvc.cs index 42a9cba..154acdc 100644 --- a/src/EllieBot/Services/GrpcApi/OtherSvc.cs +++ b/src/EllieBot/Services/GrpcApi/OtherSvc.cs @@ -69,7 +69,7 @@ public sealed class OtherSvc : GrpcOther.GrpcOtherBase, IEService foreach (var g in guilds) { var user = await g.GetUserAsync(userId); - if (user.GuildPermissions.Has(GuildPermission.Administrator)) + if (user is not null && user.GuildPermissions.Has(GuildPermission.Administrator)) toReturn.Add(g); }