Move CommandPreconditions into Geekbot.Bot

This commit is contained in:
Daan Boerlage 2021-11-07 00:38:57 +01:00
parent a460041c52
commit 65d84c0ba6
Signed by: daan
GPG key ID: FCE070E1E4956606
9 changed files with 9 additions and 9 deletions

View file

@ -2,7 +2,7 @@ using System;
using System.Threading.Tasks; using System.Threading.Tasks;
using Discord.Commands; using Discord.Commands;
namespace Geekbot.Core.CommandPreconditions namespace Geekbot.Bot.CommandPreconditions
{ {
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true)] [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method, AllowMultiple = true)]
public class DisableInDirectMessageAttribute : PreconditionAttribute public class DisableInDirectMessageAttribute : PreconditionAttribute

View file

@ -9,8 +9,8 @@ using System.Threading.Tasks;
using Discord; using Discord;
using Discord.Commands; using Discord.Commands;
using Discord.WebSocket; using Discord.WebSocket;
using Geekbot.Bot.CommandPreconditions;
using Geekbot.Core; using Geekbot.Core;
using Geekbot.Core.CommandPreconditions;
using Geekbot.Core.ErrorHandling; using Geekbot.Core.ErrorHandling;
using Geekbot.Core.Extensions; using Geekbot.Core.Extensions;
using Geekbot.Core.GuildSettingsManager; using Geekbot.Core.GuildSettingsManager;

View file

@ -6,8 +6,8 @@ using System.Threading.Tasks;
using Discord; using Discord;
using Discord.Commands; using Discord.Commands;
using Discord.Net; using Discord.Net;
using Geekbot.Bot.CommandPreconditions;
using Geekbot.Core; using Geekbot.Core;
using Geekbot.Core.CommandPreconditions;
using Geekbot.Core.Database; using Geekbot.Core.Database;
using Geekbot.Core.Database.Models; using Geekbot.Core.Database.Models;
using Geekbot.Core.ErrorHandling; using Geekbot.Core.ErrorHandling;

View file

@ -3,8 +3,8 @@ using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
using Discord; using Discord;
using Discord.Commands; using Discord.Commands;
using Geekbot.Bot.CommandPreconditions;
using Geekbot.Core; using Geekbot.Core;
using Geekbot.Core.CommandPreconditions;
using Geekbot.Core.Database; using Geekbot.Core.Database;
using Geekbot.Core.Database.Models; using Geekbot.Core.Database.Models;
using Geekbot.Core.ErrorHandling; using Geekbot.Core.ErrorHandling;

View file

@ -3,8 +3,8 @@ using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
using Discord; using Discord;
using Discord.Commands; using Discord.Commands;
using Geekbot.Bot.CommandPreconditions;
using Geekbot.Core; using Geekbot.Core;
using Geekbot.Core.CommandPreconditions;
using Geekbot.Core.Database; using Geekbot.Core.Database;
using Geekbot.Core.ErrorHandling; using Geekbot.Core.ErrorHandling;
using Geekbot.Core.Extensions; using Geekbot.Core.Extensions;

View file

@ -2,9 +2,9 @@
using System.Threading.Tasks; using System.Threading.Tasks;
using Discord; using Discord;
using Discord.Commands; using Discord.Commands;
using Geekbot.Bot.CommandPreconditions;
using Geekbot.Commands.Karma; using Geekbot.Commands.Karma;
using Geekbot.Core; using Geekbot.Core;
using Geekbot.Core.CommandPreconditions;
using Geekbot.Core.Database; using Geekbot.Core.Database;
using Geekbot.Core.ErrorHandling; using Geekbot.Core.ErrorHandling;
using Geekbot.Core.Extensions; using Geekbot.Core.Extensions;

View file

@ -1,8 +1,8 @@
using System; using System;
using System.Threading.Tasks; using System.Threading.Tasks;
using Discord.Commands; using Discord.Commands;
using Geekbot.Bot.CommandPreconditions;
using Geekbot.Core; using Geekbot.Core;
using Geekbot.Core.CommandPreconditions;
using Geekbot.Core.Converters; using Geekbot.Core.Converters;
using Geekbot.Core.Database; using Geekbot.Core.Database;
using Geekbot.Core.ErrorHandling; using Geekbot.Core.ErrorHandling;

View file

@ -3,8 +3,8 @@ using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
using Discord; using Discord;
using Discord.Commands; using Discord.Commands;
using Geekbot.Bot.CommandPreconditions;
using Geekbot.Core; using Geekbot.Core;
using Geekbot.Core.CommandPreconditions;
using Geekbot.Core.Database; using Geekbot.Core.Database;
using Geekbot.Core.ErrorHandling; using Geekbot.Core.ErrorHandling;
using Geekbot.Core.Extensions; using Geekbot.Core.Extensions;

View file

@ -4,8 +4,8 @@ using System.Text;
using System.Threading.Tasks; using System.Threading.Tasks;
using Discord; using Discord;
using Discord.Commands; using Discord.Commands;
using Geekbot.Bot.CommandPreconditions;
using Geekbot.Core; using Geekbot.Core;
using Geekbot.Core.CommandPreconditions;
using Geekbot.Core.Database; using Geekbot.Core.Database;
using Geekbot.Core.Database.Models; using Geekbot.Core.Database.Models;
using Geekbot.Core.ErrorHandling; using Geekbot.Core.ErrorHandling;