@elara-services/packages 6.0.0 → 6.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/package.json +1 -1
- package/dist/src/interfaces/discord.d.ts +2 -2
- package/dist/src/lib/AES.js +19 -8
- package/dist/src/lib/discord.d.ts +3 -3
- package/dist/src/lib/discord.js +84 -39
- package/dist/src/lib/languages.d.ts +114 -4
- package/dist/src/lib/languages.js +120 -118
- package/dist/src/lib/minesweeper.js +24 -10
- package/dist/src/lib/misc.js +5 -4
- package/dist/src/lib/random.js +1960 -251
- package/dist/src/lib/tasks.js +5 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/AES.html +6 -7
- package/docs/classes/Minesweeper.html +12 -13
- package/docs/classes/Tasks.html +4 -5
- package/docs/functions/fetch.html +2 -3
- package/docs/functions/randomWeight.html +2 -3
- package/docs/functions/randomWords.html +2 -3
- package/docs/index.html +1 -2
- package/docs/interfaces/ButtonOptions.html +11 -12
- package/docs/interfaces/ModalOptions.html +7 -8
- package/docs/interfaces/RandomWord.html +10 -11
- package/docs/interfaces/SelectOptions.html +13 -14
- package/docs/interfaces/Slash.html +9 -10
- package/docs/interfaces/SlashOptions.html +15 -16
- package/docs/interfaces/TaskCreate.html +5 -6
- package/docs/interfaces/TextInputOptions.html +16 -17
- package/docs/modules.html +2 -4
- package/docs/types/ButtonNumberStyles.html +2 -3
- package/docs/types/ButtonStyles.html +2 -3
- package/docs/types/ChannelTypes.html +2 -3
- package/docs/types/Lang.html +3 -4
- package/docs/types/LangName.html +2 -3
- package/docs/variables/ButtonStyle.html +2 -3
- package/docs/variables/Duration.html +2 -3
- package/docs/variables/Interactions.html +2 -3
- package/docs/variables/Languages.html +294 -0
- package/docs/variables/SlashBuilder.html +16 -17
- package/package.json +1 -1
- package/docs/functions/find.html +0 -75
- package/docs/variables/langs.html +0 -279
package/dist/src/lib/tasks.js
CHANGED
@@ -35,7 +35,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
35
35
|
exports.Tasks = void 0;
|
36
36
|
const utils_1 = require("@elara-services/utils");
|
37
37
|
class Tasks extends null {
|
38
|
-
create({ id, time, shouldCancel } = {
|
38
|
+
create({ id, time, shouldCancel } = {
|
39
|
+
id: "",
|
40
|
+
time: "",
|
41
|
+
shouldCancel: true,
|
42
|
+
}, run) {
|
39
43
|
return __awaiter(this, void 0, void 0, function* () {
|
40
44
|
const sc = yield Promise.resolve().then(() => __importStar(require("node-schedule"))).catch(() => { });
|
41
45
|
if (!sc) {
|