File tree 5 files changed +11
-6
lines changed
5 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 2
2
const { Client, ChatInputCommandInteraction } = require ( "discord.js" ) ;
3
3
4
4
//===============< FUNCTIONS >===============\\
5
- const { errorCmdLogsInt } = require ( "../../Structures/Functions/errorCmdLogs.js" ) ;
5
+ const { errorCmdLogsButton } = require ( "../../Structures/Functions/errorCmdLogs.js" ) ;
6
6
7
7
//===============< SETTINGS >===============\\
8
8
const Webhook = require ( "../../Structures/Settings/webhook.json" ) ;
@@ -11,6 +11,7 @@ const Emoji = require("../../Structures/Settings/emojis.json");
11
11
const Embed = require ( "../../Structures/Settings/embed.json" ) ;
12
12
13
13
//===============< OTHERS >===============\\
14
+ const color = require ( "colors" ) ;
14
15
15
16
//=====================================| Code |=====================================\\
16
17
module . exports = {
@@ -46,7 +47,7 @@ module.exports = {
46
47
try {
47
48
command . execute ( client , interaction ) ;
48
49
} catch ( error ) {
49
- errorCmdLogsInt ( client , interaction , error )
50
+ errorCmdLogsButton ( client , interaction , error )
50
51
console . log ( `${ color . bold . red ( `[INTERACTION > BUTTON: ERROR]` ) } ` + `${ error } ` . bgRed ) ;
51
52
} ;
52
53
} ;
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ const Emoji = require("../../Structures/Settings/emojis.json");
12
12
const Embed = require ( "../../Structures/Settings/embed.json" ) ;
13
13
14
14
//===============< OTHERS >===============\\
15
+ const color = require ( "colors" ) ;
15
16
16
17
//=====================================| Code |=====================================\\
17
18
module . exports = {
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ const Emoji = require("../../Structures/Settings/emojis.json");
12
12
const Embed = require ( "../../Structures/Settings/embed.json" ) ;
13
13
14
14
//===============< OTHERS >===============\\
15
+ const color = require ( "colors" ) ;
15
16
16
17
//=====================================| Code |=====================================\\
17
18
module . exports = {
Original file line number Diff line number Diff line change 2
2
const { Client, ChatInputCommandInteraction } = require ( "discord.js" ) ;
3
3
4
4
//===============< FUNCTIONS >===============\\
5
- const { errorCmdLogsInt } = require ( "../../Structures/Functions/errorCmdLogs.js" ) ;
5
+ const { errorCmdLogsModal } = require ( "../../Structures/Functions/errorCmdLogs.js" ) ;
6
6
7
7
//===============< SETTINGS >===============\\
8
8
const Webhook = require ( "../../Structures/Settings/webhook.json" ) ;
@@ -11,6 +11,7 @@ const Emoji = require("../../Structures/Settings/emojis.json");
11
11
const Embed = require ( "../../Structures/Settings/embed.json" ) ;
12
12
13
13
//===============< OTHERS >===============\\
14
+ const color = require ( "colors" ) ;
14
15
15
16
//=====================================| Code |=====================================\\
16
17
module . exports = {
@@ -37,7 +38,7 @@ module.exports = {
37
38
try {
38
39
command . execute ( client , interaction ) ;
39
40
} catch ( error ) {
40
- errorCmdLogsInt ( client , interaction , error )
41
+ errorCmdLogsModal ( client , interaction , error )
41
42
console . log ( `${ color . bold . red ( `[INTERACTION > MODAL: ERROR]` ) } ` + `${ error } ` . bgRed ) ;
42
43
} ;
43
44
} ;
Original file line number Diff line number Diff line change 2
2
const { Client, ChatInputCommandInteraction } = require ( "discord.js" ) ;
3
3
4
4
//===============< FUNCTIONS >===============\\
5
- const { errorCmdLogsInt } = require ( "../../Structures/Functions/errorCmdLogs.js" ) ;
5
+ const { errorCmdLogsSelect } = require ( "../../Structures/Functions/errorCmdLogs.js" ) ;
6
6
7
7
//===============< SETTINGS >===============\\
8
8
const Webhook = require ( "../../Structures/Settings/webhook.json" ) ;
@@ -11,6 +11,7 @@ const Emoji = require("../../Structures/Settings/emojis.json");
11
11
const Embed = require ( "../../Structures/Settings/embed.json" ) ;
12
12
13
13
//===============< OTHERS >===============\\
14
+ const color = require ( "colors" ) ;
14
15
15
16
//=====================================| Code |=====================================\\
16
17
module . exports = {
@@ -46,7 +47,7 @@ module.exports = {
46
47
try {
47
48
command . execute ( client , interaction ) ;
48
49
} catch ( error ) {
49
- errorCmdLogsInt ( client , interaction , error )
50
+ errorCmdLogsSelect ( client , interaction , error )
50
51
console . log ( `${ color . bold . red ( `[INTERACTION > SELECTION: ERROR]` ) } ` + `${ error } ` . bgRed ) ;
51
52
} ;
52
53
} ;
You can’t perform that action at this time.
0 commit comments