mirror of
https://github.com/RPCS3/discord-bot.git
synced 2026-01-31 01:25:22 +01:00
clean up usings
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
using CompatBot.Database;
|
||||
using CompatBot.Database.Providers;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.VisualStudio.Services.Common;
|
||||
|
||||
namespace CompatBot.Commands.AutoCompleteProviders;
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
using System.Runtime.InteropServices;
|
||||
using CompatApiClient;
|
||||
using CompatApiClient.Utils;
|
||||
using CompatBot.Commands.Checks;
|
||||
using CompatBot.Database;
|
||||
using CompatBot.Database.Providers;
|
||||
using CompatBot.EventHandlers;
|
||||
|
||||
@@ -1,19 +1,12 @@
|
||||
using System.IO;
|
||||
using System.IO.Compression;
|
||||
using System.Net.Http;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Xml.Linq;
|
||||
using CompatApiClient.Compression;
|
||||
using CompatApiClient.Utils;
|
||||
using CompatBot.Commands.AutoCompleteProviders;
|
||||
using CompatBot.Commands.ChoiceProviders;
|
||||
using CompatBot.Database;
|
||||
using CompatBot.Database.Providers;
|
||||
using CompatBot.Utils.Extensions;
|
||||
using DSharpPlus.Commands.Processors.SlashCommands.ArgumentModifiers;
|
||||
using DSharpPlus.Interactivity;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using org.mariuszgromada.math.mxparser.parsertokens;
|
||||
using Exception = System.Exception;
|
||||
|
||||
namespace CompatBot.Commands;
|
||||
|
||||
@@ -5,14 +5,9 @@ using System.Runtime.InteropServices;
|
||||
using CompatApiClient.Compression;
|
||||
using CompatApiClient.Utils;
|
||||
using CompatBot.Commands.AutoCompleteProviders;
|
||||
using CompatBot.Commands.Checks;
|
||||
using CompatBot.Database;
|
||||
using CompatBot.Database.Providers;
|
||||
using CompatBot.EventHandlers;
|
||||
using DSharpPlus.Commands.Converters;
|
||||
using DSharpPlus.Commands.Processors.MessageCommands;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using NLog.LayoutRenderers;
|
||||
|
||||
namespace CompatBot.Commands;
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using System.Text.RegularExpressions;
|
||||
using CompatBot.Commands.Converters;
|
||||
using CompatBot.Database;
|
||||
using CompatBot.Database.Providers;
|
||||
using DSharpPlus.Commands.Processors.TextCommands;
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
using System.Text.RegularExpressions;
|
||||
using CompatBot.Commands.Attributes;
|
||||
using CompatBot.Commands.Checks;
|
||||
using CompatBot.Database;
|
||||
using NReco.Text;
|
||||
#if DEBUG
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
using System.Linq;
|
||||
using System.Linq.Expressions;
|
||||
using System.Collections.Concurrent;
|
||||
using System.Collections.Concurrent;
|
||||
using Microsoft.VisualStudio.Services.Common;
|
||||
|
||||
namespace CompatBot.EventHandlers;
|
||||
|
||||
@@ -4,8 +4,6 @@ using CompatApiClient;
|
||||
using CompatApiClient.POCOs;
|
||||
using CompatApiClient.Utils;
|
||||
using CompatBot.Commands;
|
||||
using CompatBot.Commands.Attributes;
|
||||
using CompatBot.Commands.Checks;
|
||||
using CompatBot.Database.Providers;
|
||||
using CompatBot.Utils.ResultFormatters;
|
||||
|
||||
@@ -31,7 +29,7 @@ internal static partial class IsTheGamePlayableHandler
|
||||
|
||||
#if !DEBUG
|
||||
if (!(args.Channel.Id == Config.BotGeneralChannelId
|
||||
|| LimitedToSpecificChannelsCheck.IsHelpChannel(args.Channel)))
|
||||
|| args.Channel.IsHelpChannel()))
|
||||
return;
|
||||
|
||||
if (CooldownBuckets.TryGetValue(args.Channel.Id, out var lastCheck)
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
using System.Text.RegularExpressions;
|
||||
using CompatBot.Commands.Attributes;
|
||||
using CompatBot.Commands.Checks;
|
||||
|
||||
namespace CompatBot.EventHandlers;
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@ using System.IO.Pipelines;
|
||||
using System.Net;
|
||||
using CompatApiClient.Utils;
|
||||
using CompatBot.Commands;
|
||||
using CompatBot.Commands.Attributes;
|
||||
using CompatBot.Commands.Checks;
|
||||
using CompatBot.Database;
|
||||
using CompatBot.Database.Providers;
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
using System.Text.RegularExpressions;
|
||||
using CompatBot.Commands.Attributes;
|
||||
using CompatBot.Commands.Checks;
|
||||
using CompatBot.Database;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
|
||||
@@ -1,8 +1,6 @@
|
||||
using System.Text.RegularExpressions;
|
||||
using CompatApiClient;
|
||||
using CompatApiClient.POCOs;
|
||||
using CompatBot.Commands.Attributes;
|
||||
using CompatBot.Commands.Checks;
|
||||
using CompatBot.Database.Providers;
|
||||
using CompatBot.Utils.ResultFormatters;
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using CompatBot.Commands;
|
||||
using CompatBot.Utils.Extensions;
|
||||
using CompatBot.Utils.Extensions;
|
||||
|
||||
namespace CompatBot.EventHandlers;
|
||||
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
using System.Text.RegularExpressions;
|
||||
using CompatBot.Commands.Attributes;
|
||||
using CompatBot.Commands.Checks;
|
||||
using DSharpPlus.Commands.Converters;
|
||||
using DSharpPlus.Commands.Processors.TextCommands;
|
||||
using DSharpPlus.Commands.Processors.TextCommands.Parsing;
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using System.Collections.Specialized;
|
||||
using System.ComponentModel;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
using System.Collections.Concurrent;
|
||||
using System.Diagnostics;
|
||||
using CompatBot.Commands;
|
||||
using CompatBot.Database.Providers;
|
||||
using CompatBot.EventHandlers;
|
||||
using Microsoft.ApplicationInsights;
|
||||
using NLog;
|
||||
|
||||
Reference in New Issue
Block a user