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:
Kwoth
2021-06-19 03:32:48 +02:00
parent c7ff982ec1
commit 15dac7e3ed
191 changed files with 563 additions and 571 deletions

View File

@@ -1,7 +1,7 @@
using System;
using System.Text.Json.Serialization;
namespace NadekoBot.Core.Modules.Music
namespace NadekoBot.Modules.Music
{
public sealed class CachableTrackData : ICachableTrackData
{

View File

@@ -2,7 +2,7 @@
using System.Runtime.InteropServices;
using Serilog;
namespace NadekoBot.Core.Modules.Music.Common
namespace NadekoBot.Modules.Music.Common
{
public sealed class MultimediaTimer : IDisposable
{

View File

@@ -2,7 +2,7 @@
using Discord;
using NadekoBot.Extensions;
namespace NadekoBot.Core.Modules.Music
namespace NadekoBot.Modules.Music
{
public static class MusicExtensions
{

View File

@@ -1,4 +1,4 @@
namespace NadekoBot.Core.Modules.Music
namespace NadekoBot.Modules.Music
{
public enum MusicPlatform
{

View File

@@ -10,13 +10,13 @@ using System.Threading;
using System.Threading.Tasks;
using Ayu.Discord.Voice;
using NadekoBot.Common;
using NadekoBot.Core.Modules.Music.Common;
using NadekoBot.Modules.Music.Common;
using NadekoBot.Core.Services.Database.Models;
using NadekoBot.Extensions;
using NadekoBot.Modules.Music;
using Serilog;
namespace NadekoBot.Core.Modules.Music
namespace NadekoBot.Modules.Music
{
public sealed class MusicPlayer : IMusicPlayer
{

View File

@@ -4,7 +4,7 @@ using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace NadekoBot.Core.Modules.Music
namespace NadekoBot.Modules.Music
{
public sealed partial class MusicQueue
{

View File

@@ -8,7 +8,7 @@ using System.Threading.Tasks;
using Serilog;
using StackExchange.Redis;
namespace NadekoBot.Core.Modules.Music
namespace NadekoBot.Modules.Music
{
public sealed class RedisTrackCacher : ITrackCacher
{

View File

@@ -2,7 +2,7 @@
using System;
using System.Threading.Tasks;
namespace NadekoBot.Core.Modules.Music
namespace NadekoBot.Modules.Music
{
public sealed class RemoteTrackInfo : ITrackInfo
{

View File

@@ -2,7 +2,7 @@
using System;
using System.Threading.Tasks;
namespace NadekoBot.Core.Modules.Music
namespace NadekoBot.Modules.Music
{
public sealed class SimpleTrackInfo : ITrackInfo
{