reciple 1.0.5 → 1.0.6

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.
@@ -1,4 +1,4 @@
1
- import { ClientOptions, MessageOptions, PermissionResolvable } from 'discord.js';
1
+ import { ClientOptions, InteractionReplyOptions, MessageOptions, PermissionResolvable } from 'discord.js';
2
2
  export interface Config {
3
3
  token: string;
4
4
  prefix: string;
@@ -42,7 +42,7 @@ export interface Config {
42
42
  };
43
43
  client: ClientOptions;
44
44
  messages: {
45
- [key: string]: MessageOptions | string;
45
+ [key: string]: MessageOptions | InteractionReplyOptions | string;
46
46
  };
47
47
  modulesFolder: string;
48
48
  version?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reciple",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "A Discord.js bot",
5
5
  "author": "FalloutStudios",
6
6
  "license": "GPL-3.0",
@@ -44,8 +44,13 @@ client:
44
44
  - 'GUILD_MESSAGE_REACTIONS'
45
45
 
46
46
  messages:
47
- noPermission: 'You do not have permission to use this command.'
48
47
  notEnoughArguments: 'Not enough arguments.'
48
+ noPermission:
49
+ content: 'You do not have permission to use this command.'
50
+ ephemeral: true
51
+ error:
52
+ content: 'An error occurred.'
53
+ ephemeral: true
49
54
 
50
55
  modulesFolder: 'modules'
51
56