reciple 6.0.0-dev.26 → 6.0.0-dev.27

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 (46) hide show
  1. package/LICENSE +674 -674
  2. package/README.md +183 -183
  3. package/dist/lib/bin.mjs +67 -67
  4. package/dist/lib/esm.mjs +1 -1
  5. package/dist/lib/index.js +33 -33
  6. package/dist/lib/reciple/classes/RecipleClient.js +307 -307
  7. package/dist/lib/reciple/classes/RecipleConfig.js +106 -106
  8. package/dist/lib/reciple/classes/RecipleModule.js +94 -94
  9. package/dist/lib/reciple/classes/builders/MessageCommandBuilder.js +309 -309
  10. package/dist/lib/reciple/classes/builders/MessageCommandOptionBuilder.js +126 -126
  11. package/dist/lib/reciple/classes/builders/SlashCommandBuilder.js +246 -246
  12. package/dist/lib/reciple/classes/managers/ApplicationCommandManager.js +178 -178
  13. package/dist/lib/reciple/classes/managers/CommandCooldownManager.js +99 -99
  14. package/dist/lib/reciple/classes/managers/CommandManager.js +60 -60
  15. package/dist/lib/reciple/classes/managers/MessageCommandOptionManager.js +25 -25
  16. package/dist/lib/reciple/classes/managers/ModuleManager.js +180 -176
  17. package/dist/lib/reciple/flags.js +31 -31
  18. package/dist/lib/reciple/permissions.js +30 -30
  19. package/dist/lib/reciple/types/builders.js +11 -11
  20. package/dist/lib/reciple/types/commands.js +15 -15
  21. package/dist/lib/reciple/types/paramOptions.js +2 -2
  22. package/dist/lib/reciple/util.js +71 -71
  23. package/dist/lib/reciple/version.js +47 -47
  24. package/dist/types/bin.d.mts +2 -2
  25. package/dist/types/esm.d.mts +1 -1
  26. package/dist/types/index.d.ts +17 -17
  27. package/dist/types/reciple/classes/RecipleClient.d.ts +114 -114
  28. package/dist/types/reciple/classes/RecipleConfig.d.ts +100 -100
  29. package/dist/types/reciple/classes/RecipleModule.d.ts +56 -56
  30. package/dist/types/reciple/classes/builders/MessageCommandBuilder.d.ts +189 -189
  31. package/dist/types/reciple/classes/builders/MessageCommandOptionBuilder.d.ts +53 -53
  32. package/dist/types/reciple/classes/builders/SlashCommandBuilder.d.ts +98 -98
  33. package/dist/types/reciple/classes/managers/ApplicationCommandManager.d.ts +53 -53
  34. package/dist/types/reciple/classes/managers/CommandCooldownManager.d.ts +70 -70
  35. package/dist/types/reciple/classes/managers/CommandManager.d.ts +34 -34
  36. package/dist/types/reciple/classes/managers/MessageCommandOptionManager.d.ts +22 -22
  37. package/dist/types/reciple/classes/managers/ModuleManager.d.ts +49 -49
  38. package/dist/types/reciple/flags.d.ts +17 -17
  39. package/dist/types/reciple/permissions.d.ts +15 -15
  40. package/dist/types/reciple/types/builders.d.ts +205 -205
  41. package/dist/types/reciple/types/commands.d.ts +81 -81
  42. package/dist/types/reciple/types/paramOptions.d.ts +101 -101
  43. package/dist/types/reciple/util.d.ts +26 -26
  44. package/dist/types/reciple/version.d.ts +25 -25
  45. package/package.json +1 -1
  46. package/resource/reciple.yml +120 -120
@@ -1,120 +1,120 @@
1
- # Your bot token here
2
- # To use env variable as a token just do it like this env:TOKEN_ENV
3
- token: TOKEN
4
-
5
- # Commands options
6
- commands:
7
- # Interaction command options
8
- slashCommand:
9
- # enable interaction commands
10
- enabled: true
11
- # reply when an error occured
12
- replyOnError: false
13
- # enable the use of command cooldowns
14
- enableCooldown: true
15
- # register interaction commands on bot ready
16
- registerCommands: true
17
- # allow register empty list of application commands
18
- allowRegisterEmptyCommandList: true
19
- # set required permissions for interaction commands
20
- setRequiredPermissions: true
21
- # accept replied or deffered command interaction
22
- acceptRepliedInteractions: false
23
- # register commands to specific guild(s) empty to make it global
24
- guilds: []
25
- # overwrite command permissions
26
- permissions:
27
- # enable overwriten command permissions
28
- enabled: false
29
- commands:
30
- - command: example-command
31
- permissions:
32
- - Administrator
33
-
34
- # message command options
35
- messageCommand:
36
- # enable message commands
37
- enabled: true
38
- # command prefix
39
- prefix: '!'
40
- # reply when an error occured
41
- replyOnError: false
42
- # enable the use of command cooldowns
43
- enableCooldown: true
44
- # allow executing commands via aliases
45
- allowCommandAlias: true
46
- # command argument separator
47
- commandArgumentSeparator: ' '
48
- # overwrite command permissions
49
- permissions:
50
- # enable overwriten command permissions
51
- enabled: false
52
- commands:
53
- - command: example-command
54
- permissions:
55
- - Administrator
56
-
57
- # Logger options
58
- fileLogging:
59
- # enable console output to file
60
- enabled: true
61
- # enable debug mode
62
- debugmode: false
63
- # enable if reciple will use the logger
64
- clientLogs: true
65
- # stringify logged JSONs
66
- stringifyLoggedJSON: false
67
- # log file path
68
- logFilePath: logs/latest.log
69
-
70
- # Client options
71
- # Learn more about client options at https://discord.js.org/#/docs/discord.js/main/typedef/ClientOptions
72
- client:
73
- intents:
74
- - Guilds
75
- - GuildMembers
76
- - GuildMessages
77
- - MessageContent
78
-
79
- # Bot messages
80
- messages:
81
- missingArguments: Not enough arguments.
82
- invalidArguments: Invalid argument(s) given.
83
- insufficientBotPerms:
84
- content: Insufficient bot permissions.
85
- ephemeral: true
86
- noPermissions:
87
- content: You do not have permission to use this command.
88
- ephemeral: true
89
- cooldown:
90
- content: You cannot execute this command right now due to the cooldown.
91
- ephemeral: true
92
- error:
93
- content: An error occurred.
94
- ephemeral: true
95
-
96
- # Ignored Files
97
- ignoredFiles:
98
- - '_*'
99
- - '.*'
100
-
101
-
102
- ####################################################
103
- # #
104
- # ##### ##### # # ### ##### #### #
105
- # # # # # # # # # # # # #
106
- # # # ##### # # # # ### ### #### #
107
- # # # # # # # # # # # # #
108
- # ### # # # # ### ##### # # #
109
- # #
110
- ####################################################
111
- ## Modifying the values below could break reciple ##
112
-
113
- # Modules folder
114
- modulesFolder: 'modules'
115
-
116
- # Load modules regardless of its supported versions
117
- disableVersionCheck: false
118
-
119
- # Current version
120
- version: ^VERSION
1
+ # Your bot token here
2
+ # To use env variable as a token just do it like this env:TOKEN_ENV
3
+ token: TOKEN
4
+
5
+ # Commands options
6
+ commands:
7
+ # Interaction command options
8
+ slashCommand:
9
+ # enable interaction commands
10
+ enabled: true
11
+ # reply when an error occured
12
+ replyOnError: false
13
+ # enable the use of command cooldowns
14
+ enableCooldown: true
15
+ # register interaction commands on bot ready
16
+ registerCommands: true
17
+ # allow register empty list of application commands
18
+ allowRegisterEmptyCommandList: true
19
+ # set required permissions for interaction commands
20
+ setRequiredPermissions: true
21
+ # accept replied or deffered command interaction
22
+ acceptRepliedInteractions: false
23
+ # register commands to specific guild(s) empty to make it global
24
+ guilds: []
25
+ # overwrite command permissions
26
+ permissions:
27
+ # enable overwriten command permissions
28
+ enabled: false
29
+ commands:
30
+ - command: example-command
31
+ permissions:
32
+ - Administrator
33
+
34
+ # message command options
35
+ messageCommand:
36
+ # enable message commands
37
+ enabled: true
38
+ # command prefix
39
+ prefix: '!'
40
+ # reply when an error occured
41
+ replyOnError: false
42
+ # enable the use of command cooldowns
43
+ enableCooldown: true
44
+ # allow executing commands via aliases
45
+ allowCommandAlias: true
46
+ # command argument separator
47
+ commandArgumentSeparator: ' '
48
+ # overwrite command permissions
49
+ permissions:
50
+ # enable overwriten command permissions
51
+ enabled: false
52
+ commands:
53
+ - command: example-command
54
+ permissions:
55
+ - Administrator
56
+
57
+ # Logger options
58
+ fileLogging:
59
+ # enable console output to file
60
+ enabled: true
61
+ # enable debug mode
62
+ debugmode: false
63
+ # enable if reciple will use the logger
64
+ clientLogs: true
65
+ # stringify logged JSONs
66
+ stringifyLoggedJSON: false
67
+ # log file path
68
+ logFilePath: logs/latest.log
69
+
70
+ # Client options
71
+ # Learn more about client options at https://discord.js.org/#/docs/discord.js/main/typedef/ClientOptions
72
+ client:
73
+ intents:
74
+ - Guilds
75
+ - GuildMembers
76
+ - GuildMessages
77
+ - MessageContent
78
+
79
+ # Bot messages
80
+ messages:
81
+ missingArguments: Not enough arguments.
82
+ invalidArguments: Invalid argument(s) given.
83
+ insufficientBotPerms:
84
+ content: Insufficient bot permissions.
85
+ ephemeral: true
86
+ noPermissions:
87
+ content: You do not have permission to use this command.
88
+ ephemeral: true
89
+ cooldown:
90
+ content: You cannot execute this command right now due to the cooldown.
91
+ ephemeral: true
92
+ error:
93
+ content: An error occurred.
94
+ ephemeral: true
95
+
96
+ # Ignored Files
97
+ ignoredFiles:
98
+ - '_*'
99
+ - '.*'
100
+
101
+
102
+ ####################################################
103
+ # #
104
+ # ##### ##### # # ### ##### #### #
105
+ # # # # # # # # # # # # #
106
+ # # # ##### # # # # ### ### #### #
107
+ # # # # # # # # # # # # #
108
+ # ### # # # # ### ##### # # #
109
+ # #
110
+ ####################################################
111
+ ## Modifying the values below could break reciple ##
112
+
113
+ # Modules folder
114
+ modulesFolder: 'modules'
115
+
116
+ # Load modules regardless of its supported versions
117
+ disableVersionCheck: false
118
+
119
+ # Current version
120
+ version: ^VERSION