@elara-services/packages 6.0.8 → 6.0.9
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/lib/tasks.d.ts +1 -1
- package/dist/src/lib/tasks.js +1 -1
- package/docs/assets/search.js +1 -1
- package/docs/classes/AES.html +5 -5
- package/docs/classes/Minesweeper.html +11 -11
- package/docs/classes/Tasks.html +4 -4
- package/docs/functions/fetch.html +1 -1
- package/docs/functions/randomNumber.html +1 -1
- package/docs/functions/randomWeight.html +1 -1
- package/docs/functions/randomWords.html +1 -1
- package/docs/index.html +53 -5
- package/docs/interfaces/ButtonOptions.html +10 -10
- package/docs/interfaces/ModalOptions.html +6 -6
- package/docs/interfaces/RandomNumberOptions.html +4 -4
- package/docs/interfaces/RandomWord.html +9 -9
- package/docs/interfaces/SelectOptions.html +12 -12
- package/docs/interfaces/Slash.html +8 -8
- package/docs/interfaces/SlashOptions.html +14 -14
- package/docs/interfaces/TaskCreate.html +4 -4
- package/docs/interfaces/TextInputOptions.html +15 -15
- package/docs/types/ButtonNumberStyles.html +1 -1
- package/docs/types/ButtonStyles.html +1 -1
- package/docs/types/ChannelTypes.html +1 -1
- package/docs/types/Lang.html +1 -1
- package/docs/types/LangName.html +1 -1
- package/docs/variables/ButtonStyle.html +1 -1
- package/docs/variables/Duration.html +1 -1
- package/docs/variables/Interactions.html +1 -1
- package/docs/variables/Languages.html +2 -2
- package/docs/variables/SlashBuilder.html +1 -1
- package/package.json +1 -1
package/dist/package.json
CHANGED
package/dist/src/lib/tasks.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
export declare class Tasks extends null {
|
2
|
-
create({ id, time, shouldCancel }: TaskCreate | undefined, run: (...args: unknown[]) => Promise<unknown> | unknown): Promise<string | import("node-schedule").Job>;
|
2
|
+
static create({ id, time, shouldCancel }: TaskCreate | undefined, run: (...args: unknown[]) => Promise<unknown> | unknown): Promise<string | import("node-schedule").Job>;
|
3
3
|
static delete(id: string): Promise<boolean | null>;
|
4
4
|
}
|
5
5
|
export interface TaskCreate {
|
package/dist/src/lib/tasks.js
CHANGED
@@ -35,7 +35,7 @@ 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
|
+
static create({ id, time, shouldCancel } = {
|
39
39
|
id: "",
|
40
40
|
time: "",
|
41
41
|
shouldCancel: true,
|