UNPKG

@averagehelper/corde

Version:

A simple library for Discord bot tests. (Republished fork to demonstrate a bugfix)

22 lines (21 loc) 554 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.expect = void 0; const matcher_1 = require("./matcher"); /** * Receives wich command will be tested. * * @param commandName Command name. * * @description Do not inform the command prefix if * it's already informed in **configs** * * @returns The **Compare** object, where will handle * the type of response is expected. * * @since 1.0 */ function expect(commandName) { return new matcher_1.ExpectMatchesWithNot(commandName); } exports.expect = expect;