reciple 6.0.0-dev.27 → 6.0.0-dev.29
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/lib/bin.mjs +68 -67
- package/dist/lib/bin.mjs.map +1 -0
- package/dist/lib/esm.mjs +2 -1
- package/dist/lib/esm.mjs.map +1 -0
- package/dist/lib/index.js +34 -33
- package/dist/lib/index.js.map +1 -0
- package/dist/lib/reciple/classes/RecipleClient.js +308 -307
- package/dist/lib/reciple/classes/RecipleClient.js.map +1 -0
- package/dist/lib/reciple/classes/RecipleConfig.js +107 -106
- package/dist/lib/reciple/classes/RecipleConfig.js.map +1 -0
- package/dist/lib/reciple/classes/RecipleModule.js +137 -94
- package/dist/lib/reciple/classes/RecipleModule.js.map +1 -0
- package/dist/lib/reciple/classes/builders/MessageCommandBuilder.js +310 -309
- package/dist/lib/reciple/classes/builders/MessageCommandBuilder.js.map +1 -0
- package/dist/lib/reciple/classes/builders/MessageCommandOptionBuilder.js +127 -126
- package/dist/lib/reciple/classes/builders/MessageCommandOptionBuilder.js.map +1 -0
- package/dist/lib/reciple/classes/builders/SlashCommandBuilder.js +247 -246
- package/dist/lib/reciple/classes/builders/SlashCommandBuilder.js.map +1 -0
- package/dist/lib/reciple/classes/managers/ApplicationCommandManager.js +179 -178
- package/dist/lib/reciple/classes/managers/ApplicationCommandManager.js.map +1 -0
- package/dist/lib/reciple/classes/managers/CommandCooldownManager.js +100 -99
- package/dist/lib/reciple/classes/managers/CommandCooldownManager.js.map +1 -0
- package/dist/lib/reciple/classes/managers/CommandManager.js +65 -60
- package/dist/lib/reciple/classes/managers/CommandManager.js.map +1 -0
- package/dist/lib/reciple/classes/managers/MessageCommandOptionManager.js +26 -25
- package/dist/lib/reciple/classes/managers/MessageCommandOptionManager.js.map +1 -0
- package/dist/lib/reciple/classes/managers/ModuleManager.js +181 -180
- package/dist/lib/reciple/classes/managers/ModuleManager.js.map +1 -0
- package/dist/lib/reciple/flags.js +32 -31
- package/dist/lib/reciple/flags.js.map +1 -0
- package/dist/lib/reciple/permissions.js +31 -30
- package/dist/lib/reciple/permissions.js.map +1 -0
- package/dist/lib/reciple/types/builders.js +12 -11
- package/dist/lib/reciple/types/builders.js.map +1 -0
- package/dist/lib/reciple/types/commands.js +16 -15
- package/dist/lib/reciple/types/commands.js.map +1 -0
- package/dist/lib/reciple/types/paramOptions.js +3 -2
- package/dist/lib/reciple/types/paramOptions.js.map +1 -0
- package/dist/lib/reciple/util.js +72 -71
- package/dist/lib/reciple/util.js.map +1 -0
- package/dist/lib/reciple/version.js +48 -47
- package/dist/lib/reciple/version.js.map +1 -0
- package/dist/types/bin.d.mts +3 -2
- package/dist/types/bin.d.mts.map +1 -0
- package/dist/types/esm.d.mts +2 -1
- package/dist/types/esm.d.mts.map +1 -0
- package/dist/types/index.d.ts +18 -17
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/reciple/classes/RecipleClient.d.ts +115 -114
- package/dist/types/reciple/classes/RecipleClient.d.ts.map +1 -0
- package/dist/types/reciple/classes/RecipleConfig.d.ts +101 -100
- package/dist/types/reciple/classes/RecipleConfig.d.ts.map +1 -0
- package/dist/types/reciple/classes/RecipleModule.d.ts +88 -56
- package/dist/types/reciple/classes/RecipleModule.d.ts.map +1 -0
- package/dist/types/reciple/classes/builders/MessageCommandBuilder.d.ts +190 -189
- package/dist/types/reciple/classes/builders/MessageCommandBuilder.d.ts.map +1 -0
- package/dist/types/reciple/classes/builders/MessageCommandOptionBuilder.d.ts +54 -53
- package/dist/types/reciple/classes/builders/MessageCommandOptionBuilder.d.ts.map +1 -0
- package/dist/types/reciple/classes/builders/SlashCommandBuilder.d.ts +99 -98
- package/dist/types/reciple/classes/builders/SlashCommandBuilder.d.ts.map +1 -0
- package/dist/types/reciple/classes/managers/ApplicationCommandManager.d.ts +54 -53
- package/dist/types/reciple/classes/managers/ApplicationCommandManager.d.ts.map +1 -0
- package/dist/types/reciple/classes/managers/CommandCooldownManager.d.ts +71 -70
- package/dist/types/reciple/classes/managers/CommandCooldownManager.d.ts.map +1 -0
- package/dist/types/reciple/classes/managers/CommandManager.d.ts +35 -34
- package/dist/types/reciple/classes/managers/CommandManager.d.ts.map +1 -0
- package/dist/types/reciple/classes/managers/MessageCommandOptionManager.d.ts +23 -22
- package/dist/types/reciple/classes/managers/MessageCommandOptionManager.d.ts.map +1 -0
- package/dist/types/reciple/classes/managers/ModuleManager.d.ts +50 -49
- package/dist/types/reciple/classes/managers/ModuleManager.d.ts.map +1 -0
- package/dist/types/reciple/flags.d.ts +18 -17
- package/dist/types/reciple/flags.d.ts.map +1 -0
- package/dist/types/reciple/permissions.d.ts +16 -15
- package/dist/types/reciple/permissions.d.ts.map +1 -0
- package/dist/types/reciple/types/builders.d.ts +206 -205
- package/dist/types/reciple/types/builders.d.ts.map +1 -0
- package/dist/types/reciple/types/commands.d.ts +82 -81
- package/dist/types/reciple/types/commands.d.ts.map +1 -0
- package/dist/types/reciple/types/paramOptions.d.ts +102 -101
- package/dist/types/reciple/types/paramOptions.d.ts.map +1 -0
- package/dist/types/reciple/util.d.ts +27 -26
- package/dist/types/reciple/util.d.ts.map +1 -0
- package/dist/types/reciple/version.d.ts +26 -25
- package/dist/types/reciple/version.d.ts.map +1 -0
- package/package.json +8 -6
package/dist/lib/bin.mjs
CHANGED
|
@@ -1,67 +1,68 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { RecipleClient } from './reciple/classes/RecipleClient.js';
|
|
3
|
-
import { RecipleConfig } from './reciple/classes/RecipleConfig.js';
|
|
4
|
-
import { existsSync, mkdirSync, readdirSync } from 'fs';
|
|
5
|
-
import { rawVersion } from './reciple/version.js';
|
|
6
|
-
import { cwd, flags } from './reciple/flags.js';
|
|
7
|
-
import { path } from './reciple/util.js';
|
|
8
|
-
import { input } from 'fallout-utility';
|
|
9
|
-
import match from 'micromatch';
|
|
10
|
-
import { inspect } from 'util';
|
|
11
|
-
import chalk from 'chalk';
|
|
12
|
-
import 'dotenv/config';
|
|
13
|
-
import { Events } from 'discord.js';
|
|
14
|
-
const allowedFiles = ['node_modules', 'reciple.yml', 'package.json', '.*'];
|
|
15
|
-
const configPath = path.join(cwd, 'reciple.yml');
|
|
16
|
-
if (!existsSync(cwd))
|
|
17
|
-
mkdirSync(cwd, { recursive: true });
|
|
18
|
-
if (readdirSync(cwd).some(f => match.isMatch(f, allowedFiles)) && !existsSync(flags.config ?? configPath)) {
|
|
19
|
-
const ask = (flags.yes ? 'y' : null) ?? input('Would you like to create Reciple config here? [y/n] ') ?? '';
|
|
20
|
-
if (ask.toString().toLowerCase() !== 'y')
|
|
21
|
-
process.exit(0);
|
|
22
|
-
}
|
|
23
|
-
let configParser;
|
|
24
|
-
try {
|
|
25
|
-
configParser = new RecipleConfig(flags.config ?? configPath).parseConfig();
|
|
26
|
-
}
|
|
27
|
-
catch (err) {
|
|
28
|
-
console.error(`${chalk.bold.red('Config Error')}: ${inspect(err)}`);
|
|
29
|
-
process.exit(1);
|
|
30
|
-
}
|
|
31
|
-
const config = configParser.getConfig();
|
|
32
|
-
const client = new RecipleClient({ config: config, cwd, ...config.client });
|
|
33
|
-
/**
|
|
34
|
-
* Start
|
|
35
|
-
*/
|
|
36
|
-
if (!client.isClientLogsSilent)
|
|
37
|
-
client.logger.info('Starting Reciple client v' + rawVersion);
|
|
38
|
-
client.addCommandListeners();
|
|
39
|
-
await client.modules.startModules({
|
|
40
|
-
modules: await client.modules.resolveModuleFiles({
|
|
41
|
-
files: await client.modules.getModulePaths({
|
|
42
|
-
filter: file => file.endsWith('.js') || file.endsWith('.cjs') || file.endsWith('.mjs'),
|
|
43
|
-
}),
|
|
44
|
-
}),
|
|
45
|
-
});
|
|
46
|
-
client.on(Events.ClientReady, async () => {
|
|
47
|
-
await client.modules.loadModules();
|
|
48
|
-
const unloadModulesAndStopProcess = async (signal) => {
|
|
49
|
-
await client.modules.unloadModules({ reason: 'ProcessExit' });
|
|
50
|
-
client.logger.warn(`Exitting process${signal === 'SIGINT' ? ': keyboard interrupt' : signal === 'SIGTERM' ? ': terminate' : signal}`);
|
|
51
|
-
process.exit();
|
|
52
|
-
};
|
|
53
|
-
process.once('SIGINT', signal => unloadModulesAndStopProcess(signal));
|
|
54
|
-
process.once('SIGTERM', signal => unloadModulesAndStopProcess(signal));
|
|
55
|
-
if (!client.isClientLogsSilent)
|
|
56
|
-
client.logger.log(`Loaded ${client.commands.slashCommands.size} slash commands`, `Loaded ${client.commands.messageCommands.size} message commands`);
|
|
57
|
-
if (client.config.commands.slashCommand.registerCommands && (client.config.commands.slashCommand.allowRegisterEmptyCommandList || client.applicationCommands.size)) {
|
|
58
|
-
await client.commands.registerApplicationCommands();
|
|
59
|
-
}
|
|
60
|
-
if (!client.isClientLogsSilent)
|
|
61
|
-
client.logger.warn(`Logged in as ${client.user?.tag || 'Unknown'}!`);
|
|
62
|
-
client.on(Events.CacheSweep, () => client.cooldowns.clean());
|
|
63
|
-
});
|
|
64
|
-
client.login(config.token).catch(err => {
|
|
65
|
-
if (!client.isClientLogsSilent)
|
|
66
|
-
client.logger.error(err);
|
|
67
|
-
});
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { RecipleClient } from './reciple/classes/RecipleClient.js';
|
|
3
|
+
import { RecipleConfig } from './reciple/classes/RecipleConfig.js';
|
|
4
|
+
import { existsSync, mkdirSync, readdirSync } from 'fs';
|
|
5
|
+
import { rawVersion } from './reciple/version.js';
|
|
6
|
+
import { cwd, flags } from './reciple/flags.js';
|
|
7
|
+
import { path } from './reciple/util.js';
|
|
8
|
+
import { input } from 'fallout-utility';
|
|
9
|
+
import match from 'micromatch';
|
|
10
|
+
import { inspect } from 'util';
|
|
11
|
+
import chalk from 'chalk';
|
|
12
|
+
import 'dotenv/config';
|
|
13
|
+
import { Events } from 'discord.js';
|
|
14
|
+
const allowedFiles = ['node_modules', 'reciple.yml', 'package.json', '.*'];
|
|
15
|
+
const configPath = path.join(cwd, 'reciple.yml');
|
|
16
|
+
if (!existsSync(cwd))
|
|
17
|
+
mkdirSync(cwd, { recursive: true });
|
|
18
|
+
if (readdirSync(cwd).some(f => match.isMatch(f, allowedFiles)) && !existsSync(flags.config ?? configPath)) {
|
|
19
|
+
const ask = (flags.yes ? 'y' : null) ?? input('Would you like to create Reciple config here? [y/n] ') ?? '';
|
|
20
|
+
if (ask.toString().toLowerCase() !== 'y')
|
|
21
|
+
process.exit(0);
|
|
22
|
+
}
|
|
23
|
+
let configParser;
|
|
24
|
+
try {
|
|
25
|
+
configParser = new RecipleConfig(flags.config ?? configPath).parseConfig();
|
|
26
|
+
}
|
|
27
|
+
catch (err) {
|
|
28
|
+
console.error(`${chalk.bold.red('Config Error')}: ${inspect(err)}`);
|
|
29
|
+
process.exit(1);
|
|
30
|
+
}
|
|
31
|
+
const config = configParser.getConfig();
|
|
32
|
+
const client = new RecipleClient({ config: config, cwd, ...config.client });
|
|
33
|
+
/**
|
|
34
|
+
* Start
|
|
35
|
+
*/
|
|
36
|
+
if (!client.isClientLogsSilent)
|
|
37
|
+
client.logger.info('Starting Reciple client v' + rawVersion);
|
|
38
|
+
client.addCommandListeners();
|
|
39
|
+
await client.modules.startModules({
|
|
40
|
+
modules: await client.modules.resolveModuleFiles({
|
|
41
|
+
files: await client.modules.getModulePaths({
|
|
42
|
+
filter: file => file.endsWith('.js') || file.endsWith('.cjs') || file.endsWith('.mjs'),
|
|
43
|
+
}),
|
|
44
|
+
}),
|
|
45
|
+
});
|
|
46
|
+
client.on(Events.ClientReady, async () => {
|
|
47
|
+
await client.modules.loadModules();
|
|
48
|
+
const unloadModulesAndStopProcess = async (signal) => {
|
|
49
|
+
await client.modules.unloadModules({ reason: 'ProcessExit' });
|
|
50
|
+
client.logger.warn(`Exitting process${signal === 'SIGINT' ? ': keyboard interrupt' : signal === 'SIGTERM' ? ': terminate' : signal}`);
|
|
51
|
+
process.exit();
|
|
52
|
+
};
|
|
53
|
+
process.once('SIGINT', signal => unloadModulesAndStopProcess(signal));
|
|
54
|
+
process.once('SIGTERM', signal => unloadModulesAndStopProcess(signal));
|
|
55
|
+
if (!client.isClientLogsSilent)
|
|
56
|
+
client.logger.log(`Loaded ${client.commands.slashCommands.size} slash commands`, `Loaded ${client.commands.messageCommands.size} message commands`);
|
|
57
|
+
if (client.config.commands.slashCommand.registerCommands && (client.config.commands.slashCommand.allowRegisterEmptyCommandList || client.applicationCommands.size)) {
|
|
58
|
+
await client.commands.registerApplicationCommands();
|
|
59
|
+
}
|
|
60
|
+
if (!client.isClientLogsSilent)
|
|
61
|
+
client.logger.warn(`Logged in as ${client.user?.tag || 'Unknown'}!`);
|
|
62
|
+
client.on(Events.CacheSweep, () => client.cooldowns.clean());
|
|
63
|
+
});
|
|
64
|
+
client.login(config.token).catch(err => {
|
|
65
|
+
if (!client.isClientLogsSilent)
|
|
66
|
+
client.logger.error(err);
|
|
67
|
+
});
|
|
68
|
+
//# sourceMappingURL=bin.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bin.mjs","sourceRoot":"","sources":["../../src/bin.mts"],"names":[],"mappings":";AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,IAAI,CAAC;AACxD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACxC,OAAO,KAAK,MAAM,YAAY,CAAC;AAC/B,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,eAAe,CAAC;AACvB,OAAO,EAAE,MAAM,EAAE,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.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"esm.mjs","sourceRoot":"","sources":["../../src/esm.mts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
|
package/dist/lib/index.js
CHANGED
|
@@ -1,33 +1,34 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./reciple/classes/builders/MessageCommandBuilder.js"), exports);
|
|
18
|
-
__exportStar(require("./reciple/classes/builders/MessageCommandOptionBuilder.js"), exports);
|
|
19
|
-
__exportStar(require("./reciple/classes/builders/SlashCommandBuilder.js"), exports);
|
|
20
|
-
__exportStar(require("./reciple/classes/managers/ApplicationCommandManager.js"), exports);
|
|
21
|
-
__exportStar(require("./reciple/classes/managers/CommandCooldownManager.js"), exports);
|
|
22
|
-
__exportStar(require("./reciple/classes/managers/CommandManager.js"), exports);
|
|
23
|
-
__exportStar(require("./reciple/classes/managers/MessageCommandOptionManager.js"), exports);
|
|
24
|
-
__exportStar(require("./reciple/classes/managers/ModuleManager.js"), exports);
|
|
25
|
-
__exportStar(require("./reciple/classes/RecipleClient.js"), exports);
|
|
26
|
-
__exportStar(require("./reciple/classes/RecipleConfig.js"), exports);
|
|
27
|
-
__exportStar(require("./reciple/classes/RecipleModule.js"), exports);
|
|
28
|
-
__exportStar(require("./reciple/types/builders.js"), exports);
|
|
29
|
-
__exportStar(require("./reciple/types/commands.js"), exports);
|
|
30
|
-
__exportStar(require("./reciple/flags"), exports);
|
|
31
|
-
__exportStar(require("./reciple/permissions.js"), exports);
|
|
32
|
-
__exportStar(require("./reciple/util.js"), exports);
|
|
33
|
-
__exportStar(require("./reciple/version.js"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./reciple/classes/builders/MessageCommandBuilder.js"), exports);
|
|
18
|
+
__exportStar(require("./reciple/classes/builders/MessageCommandOptionBuilder.js"), exports);
|
|
19
|
+
__exportStar(require("./reciple/classes/builders/SlashCommandBuilder.js"), exports);
|
|
20
|
+
__exportStar(require("./reciple/classes/managers/ApplicationCommandManager.js"), exports);
|
|
21
|
+
__exportStar(require("./reciple/classes/managers/CommandCooldownManager.js"), exports);
|
|
22
|
+
__exportStar(require("./reciple/classes/managers/CommandManager.js"), exports);
|
|
23
|
+
__exportStar(require("./reciple/classes/managers/MessageCommandOptionManager.js"), exports);
|
|
24
|
+
__exportStar(require("./reciple/classes/managers/ModuleManager.js"), exports);
|
|
25
|
+
__exportStar(require("./reciple/classes/RecipleClient.js"), exports);
|
|
26
|
+
__exportStar(require("./reciple/classes/RecipleConfig.js"), exports);
|
|
27
|
+
__exportStar(require("./reciple/classes/RecipleModule.js"), exports);
|
|
28
|
+
__exportStar(require("./reciple/types/builders.js"), exports);
|
|
29
|
+
__exportStar(require("./reciple/types/commands.js"), exports);
|
|
30
|
+
__exportStar(require("./reciple/flags"), exports);
|
|
31
|
+
__exportStar(require("./reciple/permissions.js"), exports);
|
|
32
|
+
__exportStar(require("./reciple/util.js"), exports);
|
|
33
|
+
__exportStar(require("./reciple/version.js"), exports);
|
|
34
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sFAAoE;AACpE,4FAA0E;AAC1E,oFAAkE;AAClE,0FAAwE;AACxE,uFAAqE;AACrE,+EAA6D;AAC7D,4FAA0E;AAC1E,8EAA4D;AAC5D,qEAAmD;AACnD,qEAAmD;AACnD,qEAAmD;AACnD,8DAA4C;AAC5C,8DAA4C;AAC5C,kDAAgC;AAChC,2DAAyC;AACzC,oDAAkC;AAClC,uDAAqC"}
|