Implicit usings and more global usings

This commit is contained in:
Kwoth
2021-12-21 02:19:21 +01:00
parent 9223d78849
commit c66e491ce9
317 changed files with 272 additions and 1425 deletions

View File

@@ -1,8 +1,4 @@
using System.Threading.Tasks;
using Discord;
using Discord.Commands;
using Discord.WebSocket;
using NadekoBot.Common.ModuleBehaviors;
using NadekoBot.Common.ModuleBehaviors;
using NadekoBot.Extensions;
using Microsoft.Extensions.DependencyInjection;

View File

@@ -1,7 +1,5 @@
using Microsoft.Extensions.Configuration;
using System.IO;
using Microsoft.Extensions.Primitives;
using NadekoBot.Common;
using NadekoBot.Common.Yml;
using Newtonsoft.Json;

View File

@@ -1,9 +1,6 @@
using Discord;
using Discord.WebSocket;
using NadekoBot.Services.Database;
using NadekoBot.Services.Database;
using NadekoBot.Services.Database.Models;
using NadekoBot.Extensions;
using System.Threading.Tasks;
using NadekoBot.Db;
using NadekoBot.Modules.Gambling.Services;

View File

@@ -1,5 +1,4 @@
using SixLabors.Fonts;
using System.IO;
namespace NadekoBot.Services;

View File

@@ -2,15 +2,11 @@
using Google.Apis.Customsearch.v1;
using Google.Apis.Services;
using Google.Apis.Urlshortener.v1;
using Google.Apis.Urlshortener.v1.Data;
using Google.Apis.YouTube.v3;
using NadekoBot.Common;
using NadekoBot.Extensions;
using Newtonsoft.Json.Linq;
using System.Net;
using System.Net.Http;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace NadekoBot.Services;

View File

@@ -1,9 +1,5 @@
using System.Collections.Concurrent;
using System.Globalization;
using Discord;
using NadekoBot.Common;
using System.Globalization;
using Newtonsoft.Json;
using System.IO;
using NadekoBot.Db;
namespace NadekoBot.Services;

View File

@@ -2,7 +2,6 @@
using Newtonsoft.Json;
using StackExchange.Redis;
using System.Net;
using System.Threading.Tasks;
namespace NadekoBot.Services;

View File

@@ -1,10 +1,6 @@
using NadekoBot.Common;
using NadekoBot.Extensions;
using NadekoBot.Extensions;
using Newtonsoft.Json;
using StackExchange.Redis;
using System.IO;
using System.Net.Http;
using System.Threading.Tasks;
using NadekoBot.Common.ModuleBehaviors;
using NadekoBot.Common.Yml;

View File

@@ -3,8 +3,6 @@ using NadekoBot.Extensions;
using NadekoBot.Modules.Games.Common.Trivia;
using Newtonsoft.Json;
using StackExchange.Redis;
using System.IO;
using Discord.WebSocket;
namespace NadekoBot.Services;

View File

@@ -1,7 +1,4 @@
using System.Threading.Tasks;
using Discord;
using Discord.WebSocket;
using Grpc.Core;
using Grpc.Core;
using NadekoBot.Common.ModuleBehaviors;
using NadekoBot.Coordinator;
using NadekoBot.Extensions;

View File

@@ -1,6 +1,4 @@
using System.Diagnostics;
using System.Threading.Tasks;
using Discord.WebSocket;
namespace NadekoBot.Services;

View File

@@ -1,6 +1,4 @@
using Newtonsoft.Json;
using System.Net.Http;
using System.Threading.Tasks;
namespace NadekoBot.Services;

View File

@@ -1,5 +1,4 @@
using Discord.WebSocket;
using System.Collections.Immutable;
using System.Collections.Immutable;
using System.Collections;
namespace NadekoBot.Services;

View File

@@ -1,11 +1,6 @@
using Discord;
using Discord.WebSocket;
using NadekoBot.Common.ModuleBehaviors;
using NadekoBot.Common.ModuleBehaviors;
using NadekoBot.Extensions;
using System.Diagnostics;
using System.Net.Http;
using System.Threading;
using System.Threading.Tasks;
namespace NadekoBot.Services;

View File

@@ -1,7 +1,6 @@
using System.ComponentModel;
using System.Diagnostics;
using System.Text;
using System.Threading.Tasks;
using NadekoBot.Extensions;
namespace NadekoBot.Services;