File tree Expand file tree Collapse file tree 5 files changed +11
-6
lines changed
Expand file tree Collapse file tree 5 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 22const { Client, ChatInputCommandInteraction } = require ( "discord.js" ) ;
33
44//===============< FUNCTIONS >===============\\
5- const { errorCmdLogsInt } = require ( "../../Structures/Functions/errorCmdLogs.js" ) ;
5+ const { errorCmdLogsButton } = require ( "../../Structures/Functions/errorCmdLogs.js" ) ;
66
77//===============< SETTINGS >===============\\
88const Webhook = require ( "../../Structures/Settings/webhook.json" ) ;
@@ -11,6 +11,7 @@ const Emoji = require("../../Structures/Settings/emojis.json");
1111const Embed = require ( "../../Structures/Settings/embed.json" ) ;
1212
1313//===============< OTHERS >===============\\
14+ const color = require ( "colors" ) ;
1415
1516//=====================================| Code |=====================================\\
1617module . exports = {
@@ -46,7 +47,7 @@ module.exports = {
4647 try {
4748 command . execute ( client , interaction ) ;
4849 } catch ( error ) {
49- errorCmdLogsInt ( client , interaction , error )
50+ errorCmdLogsButton ( client , interaction , error )
5051 console . log ( `${ color . bold . red ( `[INTERACTION > BUTTON: ERROR]` ) } ` + `${ error } ` . bgRed ) ;
5152 } ;
5253 } ;
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ const Emoji = require("../../Structures/Settings/emojis.json");
1212const Embed = require ( "../../Structures/Settings/embed.json" ) ;
1313
1414//===============< OTHERS >===============\\
15+ const color = require ( "colors" ) ;
1516
1617//=====================================| Code |=====================================\\
1718module . exports = {
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ const Emoji = require("../../Structures/Settings/emojis.json");
1212const Embed = require ( "../../Structures/Settings/embed.json" ) ;
1313
1414//===============< OTHERS >===============\\
15+ const color = require ( "colors" ) ;
1516
1617//=====================================| Code |=====================================\\
1718module . exports = {
Original file line number Diff line number Diff line change 22const { Client, ChatInputCommandInteraction } = require ( "discord.js" ) ;
33
44//===============< FUNCTIONS >===============\\
5- const { errorCmdLogsInt } = require ( "../../Structures/Functions/errorCmdLogs.js" ) ;
5+ const { errorCmdLogsModal } = require ( "../../Structures/Functions/errorCmdLogs.js" ) ;
66
77//===============< SETTINGS >===============\\
88const Webhook = require ( "../../Structures/Settings/webhook.json" ) ;
@@ -11,6 +11,7 @@ const Emoji = require("../../Structures/Settings/emojis.json");
1111const Embed = require ( "../../Structures/Settings/embed.json" ) ;
1212
1313//===============< OTHERS >===============\\
14+ const color = require ( "colors" ) ;
1415
1516//=====================================| Code |=====================================\\
1617module . exports = {
@@ -37,7 +38,7 @@ module.exports = {
3738 try {
3839 command . execute ( client , interaction ) ;
3940 } catch ( error ) {
40- errorCmdLogsInt ( client , interaction , error )
41+ errorCmdLogsModal ( client , interaction , error )
4142 console . log ( `${ color . bold . red ( `[INTERACTION > MODAL: ERROR]` ) } ` + `${ error } ` . bgRed ) ;
4243 } ;
4344 } ;
Original file line number Diff line number Diff line change 22const { Client, ChatInputCommandInteraction } = require ( "discord.js" ) ;
33
44//===============< FUNCTIONS >===============\\
5- const { errorCmdLogsInt } = require ( "../../Structures/Functions/errorCmdLogs.js" ) ;
5+ const { errorCmdLogsSelect } = require ( "../../Structures/Functions/errorCmdLogs.js" ) ;
66
77//===============< SETTINGS >===============\\
88const Webhook = require ( "../../Structures/Settings/webhook.json" ) ;
@@ -11,6 +11,7 @@ const Emoji = require("../../Structures/Settings/emojis.json");
1111const Embed = require ( "../../Structures/Settings/embed.json" ) ;
1212
1313//===============< OTHERS >===============\\
14+ const color = require ( "colors" ) ;
1415
1516//=====================================| Code |=====================================\\
1617module . exports = {
@@ -46,7 +47,7 @@ module.exports = {
4647 try {
4748 command . execute ( client , interaction ) ;
4849 } catch ( error ) {
49- errorCmdLogsInt ( client , interaction , error )
50+ errorCmdLogsSelect ( client , interaction , error )
5051 console . log ( `${ color . bold . red ( `[INTERACTION > SELECTION: ERROR]` ) } ` + `${ error } ` . bgRed ) ;
5152 } ;
5253 } ;
You can’t perform that action at this time.
0 commit comments