mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -04:00
Massive cleanup
- Removed GuildConfigs repository, moved to extensions - Moved StreamSettings extension to GuildConfig extensions - namespace NadekoBot.Core has been simplified to NadekoBot in many places (more to come) - Replaced some raw delete queries with simple linqtodb queries
This commit is contained in:
@@ -395,7 +395,7 @@
|
||||
// }
|
||||
// using (var uow = _db.GetDbContext())
|
||||
// {
|
||||
// uow.GuildConfigs.ForId(ctx.Guild.Id, set => set).DefaultMusicVolume = val / 100.0f;
|
||||
// uow._context.GuildConfigsForId(ctx.Guild.Id, set => set).DefaultMusicVolume = val / 100.0f;
|
||||
// uow.SaveChanges();
|
||||
// }
|
||||
// await ReplyConfirmLocalizedAsync("defvol_set", val).ConfigureAwait(false);
|
||||
|
Reference in New Issue
Block a user