Apply DM Disable attribute to some commands
This commit is contained in:
parent
1e98b44cb7
commit
de408dbfd9
9 changed files with 18 additions and 0 deletions
|
@ -5,6 +5,7 @@ using Discord;
|
|||
using Discord.Commands;
|
||||
using Geekbot.net.Database;
|
||||
using Geekbot.net.Database.Models;
|
||||
using Geekbot.net.Lib.CommandPreconditions;
|
||||
using Geekbot.net.Lib.ErrorHandling;
|
||||
using Geekbot.net.Lib.Extensions;
|
||||
using Geekbot.net.Lib.Polyfills;
|
||||
|
@ -12,6 +13,7 @@ using Geekbot.net.Lib.Polyfills;
|
|||
namespace Geekbot.net.Commands.Utils.Quote
|
||||
{
|
||||
[Group("quote")]
|
||||
[DisableInDirectMessage]
|
||||
public class Quote : ModuleBase
|
||||
{
|
||||
private readonly IErrorHandler _errorHandler;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue