reciple 9.0.0-dev.6 → 9.0.0-dev.8

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.
Files changed (2) hide show
  1. package/package.json +4 -4
  2. package/static/config.mjs +78 -78
package/package.json CHANGED
@@ -3,10 +3,10 @@
3
3
  "description": "Reciple is a Discord.js bot framework",
4
4
  "homepage": "https://reciple.js.org/docs/reciple",
5
5
  "license": "GPL-3.0",
6
- "version": "9.0.0-dev.6",
6
+ "version": "9.0.0-dev.8",
7
7
  "module": "./dist/index.js",
8
8
  "types": "./dist/index.d.ts",
9
- "bin": "./dist/bin.mjs",
9
+ "bin": "./dist/bin.js",
10
10
  "type": "module",
11
11
  "keywords": [
12
12
  "reciple",
@@ -51,7 +51,7 @@
51
51
  "semver": "^7.6.2"
52
52
  },
53
53
  "devDependencies": {
54
- "@reciple/core": "^9.0.0-dev.3",
54
+ "@reciple/core": "^9.0.0-dev.4",
55
55
  "@types/micromatch": "^4.0.7",
56
56
  "@types/semver": "^7.5.8",
57
57
  "discord.js": "^14.15.2"
@@ -60,5 +60,5 @@
60
60
  "@reciple/core": "^9 || ^9.0.0-dev",
61
61
  "discord.js": "^14.15.0"
62
62
  },
63
- "gitHead": "899ea8ec733b687f297b08d83f5d07d886c2948e"
63
+ "gitHead": "02eb45f7ba098bdc475e1b6c69448d7c12eb0467"
64
64
  }
package/static/config.mjs CHANGED
@@ -1,78 +1,78 @@
1
- // @ts-check
2
- import { CooldownPrecondition, CommandPermissionsPrecondition } from 'reciple';
3
- import { IntentsBitField } from 'discord.js';
4
- import { cliVersion } from 'reciple';
5
-
6
- /**
7
- * @satisfies {import('reciple').RecipleConfig}
8
- */
9
- export const config = {
10
- token: process.env.TOKEN ?? '',
11
- commands: {
12
- contextMenuCommand: {
13
- enabled: true,
14
- enableCooldown: true,
15
- acceptRepliedInteractions: false,
16
- registerCommands: {
17
- registerGlobally: true,
18
- registerToGuilds: []
19
- }
20
- },
21
- messageCommand: {
22
- enabled: true,
23
- enableCooldown: true,
24
- commandArgumentSeparator: ' ',
25
- prefix: '!'
26
- },
27
- slashCommand: {
28
- enabled: true,
29
- enableCooldown: true,
30
- acceptRepliedInteractions: false,
31
- registerCommands: {
32
- registerGlobally: true,
33
- registerToGuilds: []
34
- }
35
- }
36
- },
37
- applicationCommandRegister: {
38
- enabled: true,
39
- allowRegisterGlobally: true,
40
- allowRegisterToGuilds: true,
41
- registerEmptyCommands: true,
42
- registerToGuilds: []
43
- },
44
- client: {
45
- intents: [
46
- IntentsBitField.Flags.Guilds,
47
- IntentsBitField.Flags.GuildMembers,
48
- IntentsBitField.Flags.GuildMessages,
49
- IntentsBitField.Flags.MessageContent,
50
- ]
51
- },
52
- logger: {
53
- enabled: true,
54
- debugmode: null,
55
- coloredMessages: true,
56
- disableLogPrefix: false,
57
- logToFile: {
58
- enabled: true,
59
- logsFolder: './logs',
60
- file: 'latest.log'
61
- }
62
- },
63
- modules: {
64
- dirs: ['./modules'],
65
- exclude: [],
66
- filter: file => true,
67
- disableModuleVersionCheck: false
68
- },
69
- preconditions: [
70
- CooldownPrecondition.create(),
71
- CommandPermissionsPrecondition.create()
72
- ],
73
- cooldownSweeperOptions: {
74
- timer: 1000 * 60 * 60
75
- },
76
- checkForUpdates: true,
77
- version: `^${cliVersion}`
78
- };
1
+ // @ts-check
2
+ import { CooldownPrecondition, CommandPermissionsPrecondition } from 'reciple';
3
+ import { IntentsBitField } from 'discord.js';
4
+ import { cliVersion } from 'reciple';
5
+
6
+ /**
7
+ * @satisfies {import('reciple').RecipleConfig}
8
+ */
9
+ export const config = {
10
+ token: process.env.TOKEN ?? '',
11
+ commands: {
12
+ contextMenuCommand: {
13
+ enabled: true,
14
+ enableCooldown: true,
15
+ acceptRepliedInteractions: false,
16
+ registerCommands: {
17
+ registerGlobally: true,
18
+ registerToGuilds: []
19
+ }
20
+ },
21
+ messageCommand: {
22
+ enabled: true,
23
+ enableCooldown: true,
24
+ commandArgumentSeparator: ' ',
25
+ prefix: '!'
26
+ },
27
+ slashCommand: {
28
+ enabled: true,
29
+ enableCooldown: true,
30
+ acceptRepliedInteractions: false,
31
+ registerCommands: {
32
+ registerGlobally: true,
33
+ registerToGuilds: []
34
+ }
35
+ }
36
+ },
37
+ applicationCommandRegister: {
38
+ enabled: true,
39
+ allowRegisterGlobally: true,
40
+ allowRegisterToGuilds: true,
41
+ registerEmptyCommands: true,
42
+ registerToGuilds: []
43
+ },
44
+ client: {
45
+ intents: [
46
+ IntentsBitField.Flags.Guilds,
47
+ IntentsBitField.Flags.GuildMembers,
48
+ IntentsBitField.Flags.GuildMessages,
49
+ IntentsBitField.Flags.MessageContent,
50
+ ]
51
+ },
52
+ logger: {
53
+ enabled: true,
54
+ debugmode: null,
55
+ coloredMessages: true,
56
+ disableLogPrefix: false,
57
+ logToFile: {
58
+ enabled: true,
59
+ logsFolder: './logs',
60
+ file: 'latest.log'
61
+ }
62
+ },
63
+ modules: {
64
+ dirs: ['./modules'],
65
+ exclude: [],
66
+ filter: file => true,
67
+ disableModuleVersionCheck: false
68
+ },
69
+ preconditions: [
70
+ new CooldownPrecondition(),
71
+ new CommandPermissionsPrecondition()
72
+ ],
73
+ cooldownSweeperOptions: {
74
+ timer: 1000 * 60 * 60
75
+ },
76
+ checkForUpdates: true,
77
+ version: `^${cliVersion}`
78
+ };