Skip to content

Commit c672488

Browse files
committed
Do not set the setting set when only azura is set
1 parent aaeff72 commit c672488

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

AzzyBot-Next/Commands/ConfigCommands.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ public async ValueTask SetAzuraCastAsync
6565

6666
ulong guildId = context.Guild?.Id ?? throw new InvalidOperationException("Guild is null");
6767
await _db.SetAzuraCastEntityAsync(guildId, apiKey, apiUrl, stationId, requestsChannel?.Id ?? 0, outagesChannel?.Id ?? 0, hlsStreaming, showPlaylistInNowPlaying);
68-
await _db.SetGuildEntityAsync(guildId);
6968

7069
if (!string.IsNullOrWhiteSpace(apiKey) || apiUrl is not null)
7170
{

AzzyBot-Next/Database/DbActions.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,9 +311,7 @@ public async Task SetGuildEntityAsync(ulong guildId, ulong errorChannelId = 0, b
311311
guild.ErrorChannelId = errorChannelId;
312312

313313
if (guild.IsDebugAllowed != isDebug)
314-
{
315314
guild.IsDebugAllowed = isDebug;
316-
}
317315

318316
await context.SaveChangesAsync();
319317

0 commit comments

Comments
 (0)