Use GeebotBase in every command
This commit is contained in:
parent
8d9c436cfc
commit
295a1d575d
38 changed files with 77 additions and 40 deletions
|
@ -3,6 +3,7 @@ using System.Threading.Tasks;
|
|||
using Discord;
|
||||
using Discord.Commands;
|
||||
using Discord.WebSocket;
|
||||
using Geekbot.net.Lib;
|
||||
using Geekbot.net.Lib.ErrorHandling;
|
||||
using Geekbot.net.Lib.GlobalSettings;
|
||||
using Geekbot.net.Lib.Logger;
|
||||
|
@ -12,7 +13,7 @@ namespace Geekbot.net.Commands.Admin.Owner
|
|||
{
|
||||
[Group("owner")]
|
||||
[RequireOwner]
|
||||
public class Owner : ModuleBase
|
||||
public class Owner : GeekbotBase
|
||||
{
|
||||
private readonly DiscordSocketClient _client;
|
||||
private readonly IErrorHandler _errorHandler;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue