diff --git a/NadekoBot/Classes/DBHandler.cs b/NadekoBot/Classes/DBHandler.cs index ffc9e897..6cd5adf9 100644 --- a/NadekoBot/Classes/DBHandler.cs +++ b/NadekoBot/Classes/DBHandler.cs @@ -1,9 +1,5 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.IO; using SQLite; using NadekoBot.Classes._DataModels; diff --git a/NadekoBot/Classes/Trivia/TriviaGame.cs b/NadekoBot/Classes/Trivia/TriviaGame.cs index 0a87e85b..923ec642 100644 --- a/NadekoBot/Classes/Trivia/TriviaGame.cs +++ b/NadekoBot/Classes/Trivia/TriviaGame.cs @@ -5,7 +5,6 @@ using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Linq; -using System.Text; using System.Threading; using System.Threading.Tasks; diff --git a/NadekoBot/Classes/Trivia/TriviaQuestion.cs b/NadekoBot/Classes/Trivia/TriviaQuestion.cs index aa1b13fd..24ecf3c7 100644 --- a/NadekoBot/Classes/Trivia/TriviaQuestion.cs +++ b/NadekoBot/Classes/Trivia/TriviaQuestion.cs @@ -1,10 +1,7 @@ using NadekoBot.Extensions; using System; using System.Collections.Generic; -using System.Linq; -using System.Text; using System.Text.RegularExpressions; -using System.Threading.Tasks; // THANKS @ShoMinamimoto for suggestions and coding help namespace NadekoBot.Classes.Trivia { diff --git a/NadekoBot/Classes/Trivia/TriviaQuestionPool.cs b/NadekoBot/Classes/Trivia/TriviaQuestionPool.cs index c270534a..4bb59f23 100644 --- a/NadekoBot/Classes/Trivia/TriviaQuestionPool.cs +++ b/NadekoBot/Classes/Trivia/TriviaQuestionPool.cs @@ -3,8 +3,6 @@ using System; using System.Collections.Generic; using System.IO; using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace NadekoBot.Classes.Trivia { public class TriviaQuestionPool { diff --git a/NadekoBot/Classes/_DataModels/AnnouncementModel.cs b/NadekoBot/Classes/_DataModels/AnnouncementModel.cs index 39d9bfd8..542333bc 100644 --- a/NadekoBot/Classes/_DataModels/AnnouncementModel.cs +++ b/NadekoBot/Classes/_DataModels/AnnouncementModel.cs @@ -1,10 +1,5 @@ using Newtonsoft.Json; -using SQLite; using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace NadekoBot.Classes._DataModels { class Announcement : IDataModel { diff --git a/NadekoBot/Classes/_DataModels/CommandModel.cs b/NadekoBot/Classes/_DataModels/CommandModel.cs index 7c40adc3..03cb9656 100644 --- a/NadekoBot/Classes/_DataModels/CommandModel.cs +++ b/NadekoBot/Classes/_DataModels/CommandModel.cs @@ -1,9 +1,4 @@ -using SQLite; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System; namespace NadekoBot.Classes._DataModels { class Command : IDataModel { diff --git a/NadekoBot/Classes/_DataModels/RequestModel.cs b/NadekoBot/Classes/_DataModels/RequestModel.cs index 87efd72a..6fda3c83 100644 --- a/NadekoBot/Classes/_DataModels/RequestModel.cs +++ b/NadekoBot/Classes/_DataModels/RequestModel.cs @@ -1,9 +1,4 @@ -using SQLite; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System; namespace NadekoBot.Classes._DataModels { class Request : IDataModel { diff --git a/NadekoBot/Classes/_DataModels/StatsModel.cs b/NadekoBot/Classes/_DataModels/StatsModel.cs index d54bfab0..22b64d9b 100644 --- a/NadekoBot/Classes/_DataModels/StatsModel.cs +++ b/NadekoBot/Classes/_DataModels/StatsModel.cs @@ -1,9 +1,4 @@ -using SQLite; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System; namespace NadekoBot.Classes._DataModels { class Stats : IDataModel { diff --git a/NadekoBot/Classes/_DataModels/TypingArticleModel.cs b/NadekoBot/Classes/_DataModels/TypingArticleModel.cs index 1283255a..3a81f74c 100644 --- a/NadekoBot/Classes/_DataModels/TypingArticleModel.cs +++ b/NadekoBot/Classes/_DataModels/TypingArticleModel.cs @@ -1,15 +1,9 @@ -using Newtonsoft.Json; -using SQLite; -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System; namespace NadekoBot.Classes._DataModels { class TypingArticle : IDataModel { public string Text { get; set; } - [JsonProperty("createdAt")] + [Newtonsoft.Json.JsonProperty("createdAt")] public DateTime DateAdded { get; set; } } } diff --git a/NadekoBot/Commands/CopyCommand.cs b/NadekoBot/Commands/CopyCommand.cs index 0d61bc7e..4849681f 100644 --- a/NadekoBot/Commands/CopyCommand.cs +++ b/NadekoBot/Commands/CopyCommand.cs @@ -2,7 +2,6 @@ using System.Collections.Generic; using System.Threading.Tasks; using Discord.Commands; -using Discord.Legacy; using NadekoBot.Extensions; namespace NadekoBot diff --git a/NadekoBot/Commands/DrawCommand.cs b/NadekoBot/Commands/DrawCommand.cs index e2933f89..87c94588 100644 --- a/NadekoBot/Commands/DrawCommand.cs +++ b/NadekoBot/Commands/DrawCommand.cs @@ -2,9 +2,7 @@ using System.Threading.Tasks; using Discord.Commands; using System.Drawing; -using System.Drawing.Imaging; using System.Collections.Generic; -using Discord.Legacy; using NadekoBot.Extensions; namespace NadekoBot diff --git a/NadekoBot/Commands/ServerGreetCommand.cs b/NadekoBot/Commands/ServerGreetCommand.cs index 5c997f7e..3e64d1bd 100644 --- a/NadekoBot/Commands/ServerGreetCommand.cs +++ b/NadekoBot/Commands/ServerGreetCommand.cs @@ -1,13 +1,11 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Text; using System.Threading.Tasks; using Discord.Commands; using System.Collections.Concurrent; using NadekoBot.Extensions; using Discord; -using System.ComponentModel; /* Voltana's legacy public class AsyncLazy : Lazy> diff --git a/NadekoBot/Commands/TriviaCommand.cs b/NadekoBot/Commands/TriviaCommand.cs index c9e52a83..cd8b4918 100644 --- a/NadekoBot/Commands/TriviaCommand.cs +++ b/NadekoBot/Commands/TriviaCommand.cs @@ -1,7 +1,4 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; using System.Threading.Tasks; using Discord.Commands; using NadekoBot.Extensions; diff --git a/NadekoBot/Modules/Conversations.cs b/NadekoBot/Modules/Conversations.cs index 6552dc66..993c6c20 100644 --- a/NadekoBot/Modules/Conversations.cs +++ b/NadekoBot/Modules/Conversations.cs @@ -9,7 +9,6 @@ using System.Threading.Tasks; using System.Diagnostics; using System.Drawing; using System.IO; -using System.Text; using System.Drawing.Imaging; using NadekoBot.Extensions; using NadekoBot.Properties; diff --git a/NadekoBot/Modules/DiscordModule.cs b/NadekoBot/Modules/DiscordModule.cs index 2ad0d20d..27e32f03 100644 --- a/NadekoBot/Modules/DiscordModule.cs +++ b/NadekoBot/Modules/DiscordModule.cs @@ -1,9 +1,5 @@ using Discord.Modules; -using System; using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace NadekoBot.Modules { diff --git a/NadekoBot/Modules/Games.cs b/NadekoBot/Modules/Games.cs index 35228c9e..80b420a2 100644 --- a/NadekoBot/Modules/Games.cs +++ b/NadekoBot/Modules/Games.cs @@ -1,8 +1,5 @@ using System; -using System.Collections.Generic; using System.Linq; -using System.Text; -using System.Threading.Tasks; using Discord.Modules; using NadekoBot.Extensions; using NadekoBot.Commands; diff --git a/NadekoBot/Modules/Searches.cs b/NadekoBot/Modules/Searches.cs index a8781bf9..5aa4caa7 100644 --- a/NadekoBot/Modules/Searches.cs +++ b/NadekoBot/Modules/Searches.cs @@ -9,7 +9,6 @@ using Newtonsoft.Json; using Discord.Commands; using NadekoBot.Extensions; using System.Collections.Generic; -using System.Linq; namespace NadekoBot.Modules { class Searches : DiscordModule {