project now buildable, permissions don't work yet.

This commit is contained in:
Master Kwoth 2016-02-11 13:39:32 +01:00
parent 2bb4f93e10
commit faa9a0eab7
4 changed files with 4 additions and 21 deletions

View File

@ -1,11 +1,6 @@
using System; using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Discord.Modules; using Discord.Modules;
using NadekoBot.Extensions; using NadekoBot.Extensions;
using NadekoBot.Classes.PermissionCheckers;
using Discord.Commands; using Discord.Commands;
using Newtonsoft.Json.Linq; using Newtonsoft.Json.Linq;
using NadekoBot.Classes; using NadekoBot.Classes;

View File

@ -1,19 +1,10 @@
using System; using System;
using System.Threading.Tasks;
using Discord.Modules; using Discord.Modules;
using System.Net;
using System.IO;
using Newtonsoft.Json.Linq;
using System.Text.RegularExpressions;
using Newtonsoft.Json;
using Discord.Commands; using Discord.Commands;
using NadekoBot.Extensions; using NadekoBot.Extensions;
using System.Collections.Generic;
using NadekoBot.Classes.PermissionCheckers;
using NadekoBot.Classes; using NadekoBot.Classes;
namespace NadekoBot.Modules namespace NadekoBot.Modules {
{
class PermissionModule : DiscordModule class PermissionModule : DiscordModule
{ {
string trigger = "*"; string trigger = "*";

View File

@ -1,15 +1,11 @@
using System; using System;
using System.Threading.Tasks;
using Discord.Modules; using Discord.Modules;
using System.Net; using System.Net;
using System.IO; using System.IO;
using Newtonsoft.Json.Linq; using Newtonsoft.Json.Linq;
using System.Text.RegularExpressions;
using Newtonsoft.Json;
using Discord.Commands; using Discord.Commands;
using NadekoBot.Extensions; using NadekoBot.Extensions;
using System.Collections.Generic; using System.Collections.Generic;
using NadekoBot.Classes.PermissionCheckers;
using NadekoBot.Classes; using NadekoBot.Classes;
namespace NadekoBot.Modules { namespace NadekoBot.Modules {

View File

@ -132,9 +132,9 @@
<Compile Include="Classes\Music\MusicControls.cs" /> <Compile Include="Classes\Music\MusicControls.cs" />
<Compile Include="Classes\Music\StreamRequest.cs" /> <Compile Include="Classes\Music\StreamRequest.cs" />
<Compile Include="Classes\Music\SoundCloud.cs" /> <Compile Include="Classes\Music\SoundCloud.cs" />
<Compile Include="Classes\PermissionCheckers\NSWFPermissionChecker.cs" />
<Compile Include="Classes\PermissionCheckers\PermissionChecker.cs" /> <Compile Include="Classes\PermissionCheckers\PermissionChecker.cs" />
<Compile Include="Classes\PermissionsHandler.cs" /> <Compile Include="Classes\PermissionHelper.cs" />
<Compile Include="Classes\PermissionCheckers\PermissionsHandler.cs" />
<Compile Include="Classes\SearchHelper.cs" /> <Compile Include="Classes\SearchHelper.cs" />
<Compile Include="Classes\_DataModels\AnnouncementModel.cs" /> <Compile Include="Classes\_DataModels\AnnouncementModel.cs" />
<Compile Include="Classes\_DataModels\CommandModel.cs" /> <Compile Include="Classes\_DataModels\CommandModel.cs" />
@ -170,6 +170,7 @@
<Compile Include="Modules\Music.cs" /> <Compile Include="Modules\Music.cs" />
<Compile Include="Commands\PollCommand.cs" /> <Compile Include="Commands\PollCommand.cs" />
<Compile Include="Modules\NSFW.cs" /> <Compile Include="Modules\NSFW.cs" />
<Compile Include="Modules\Permissions.cs" />
<Compile Include="Modules\Searches.cs" /> <Compile Include="Modules\Searches.cs" />
<Compile Include="Modules\Trello.cs" /> <Compile Include="Modules\Trello.cs" />
<Compile Include="NadekoBot.cs" /> <Compile Include="NadekoBot.cs" />