From faa9a0eab72065a5b6c985f43cae4466305e67bd Mon Sep 17 00:00:00 2001 From: Master Kwoth Date: Thu, 11 Feb 2016 13:39:32 +0100 Subject: [PATCH] project now buildable, permissions don't work yet. --- NadekoBot/Modules/NSFW.cs | 5 ----- NadekoBot/Modules/Permissions.cs | 11 +---------- NadekoBot/Modules/Searches.cs | 4 ---- NadekoBot/NadekoBot.csproj | 5 +++-- 4 files changed, 4 insertions(+), 21 deletions(-) diff --git a/NadekoBot/Modules/NSFW.cs b/NadekoBot/Modules/NSFW.cs index 44ca9d25..be9f5469 100644 --- a/NadekoBot/Modules/NSFW.cs +++ b/NadekoBot/Modules/NSFW.cs @@ -1,11 +1,6 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; using Discord.Modules; using NadekoBot.Extensions; -using NadekoBot.Classes.PermissionCheckers; using Discord.Commands; using Newtonsoft.Json.Linq; using NadekoBot.Classes; diff --git a/NadekoBot/Modules/Permissions.cs b/NadekoBot/Modules/Permissions.cs index a31d927f..3fffd4ae 100644 --- a/NadekoBot/Modules/Permissions.cs +++ b/NadekoBot/Modules/Permissions.cs @@ -1,19 +1,10 @@ using System; -using System.Threading.Tasks; using Discord.Modules; -using System.Net; -using System.IO; -using Newtonsoft.Json.Linq; -using System.Text.RegularExpressions; -using Newtonsoft.Json; using Discord.Commands; using NadekoBot.Extensions; -using System.Collections.Generic; -using NadekoBot.Classes.PermissionCheckers; using NadekoBot.Classes; -namespace NadekoBot.Modules -{ +namespace NadekoBot.Modules { class PermissionModule : DiscordModule { string trigger = "*"; diff --git a/NadekoBot/Modules/Searches.cs b/NadekoBot/Modules/Searches.cs index bb493797..b994e50d 100644 --- a/NadekoBot/Modules/Searches.cs +++ b/NadekoBot/Modules/Searches.cs @@ -1,15 +1,11 @@ using System; -using System.Threading.Tasks; using Discord.Modules; using System.Net; using System.IO; using Newtonsoft.Json.Linq; -using System.Text.RegularExpressions; -using Newtonsoft.Json; using Discord.Commands; using NadekoBot.Extensions; using System.Collections.Generic; -using NadekoBot.Classes.PermissionCheckers; using NadekoBot.Classes; namespace NadekoBot.Modules { diff --git a/NadekoBot/NadekoBot.csproj b/NadekoBot/NadekoBot.csproj index 09a9cc7d..f66dfdcd 100644 --- a/NadekoBot/NadekoBot.csproj +++ b/NadekoBot/NadekoBot.csproj @@ -132,9 +132,9 @@ - - + + @@ -170,6 +170,7 @@ +