Use GeebotBase in every command
This commit is contained in:
parent
8d9c436cfc
commit
295a1d575d
38 changed files with 77 additions and 40 deletions
|
@ -5,6 +5,7 @@ using Discord;
|
|||
using Discord.Commands;
|
||||
using Geekbot.net.Database;
|
||||
using Geekbot.net.Database.Models;
|
||||
using Geekbot.net.Lib;
|
||||
using Geekbot.net.Lib.CommandPreconditions;
|
||||
using Geekbot.net.Lib.ErrorHandling;
|
||||
using Geekbot.net.Lib.Extensions;
|
||||
|
@ -15,7 +16,7 @@ namespace Geekbot.net.Commands.Rpg
|
|||
{
|
||||
[DisableInDirectMessage]
|
||||
[Group("cookies")]
|
||||
public class Cookies : ModuleBase
|
||||
public class Cookies : GeekbotBase
|
||||
{
|
||||
private readonly DatabaseContext _database;
|
||||
private readonly IErrorHandler _errorHandler;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue