UNPKG

@ayanaware/bentocord

Version:

Bentocord is a Bento plugin designed to rapidly build fully functional Discord Bots.

16 lines 575 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DMSuppressor = void 0; const SuppressorType_1 = require("../constants/SuppressorType"); class DMSuppressor { constructor() { this.suppressor = SuppressorType_1.SuppressorType.DM; } async suppress(ctx, option) { if (ctx.guildId) return ctx.formatTranslation('BENTOCORD_SUPPRESSOR_DM', {}, 'This command must be executed in a Direct Message.'); return false; } } exports.DMSuppressor = DMSuppressor; //# sourceMappingURL=DMSuppressor.js.map