Skip to content

Commit

Permalink
Update package dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
schblondie committed Dec 7, 2023
1 parent 8156f54 commit e53888c
Show file tree
Hide file tree
Showing 3 changed files with 85 additions and 41 deletions.
118 changes: 80 additions & 38 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
{
"dependencies": {
"chalk": "^5.3.0",
"chalk": "^4.1.2",
"chokidar": "^3.5.3",
"colors": "^1.4.0",
"discord.js": "^14.14.1",
"dotenv": "^16.3.1",
"fs": "^0.0.1-security",
"inquirer": "^9.2.12",
"inquirer-autocomplete-prompt": "^3.0.1",
"lodash": "^4.17.21"
},
"name": "discord.js-template",
Expand Down
5 changes: 3 additions & 2 deletions scripts/addFiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ const runScript = async () => {
name: 'interactionType',
message: 'Which type of interaction to add?',
choices: [
'SlashCommand', 'ContextMenuCommand', 'ButtonInteraction', 'SelectMenuInteraction', 'ModalInteraction', 'Event', 'Exit'
'SlashCommand', 'ContextMenuCommand', 'ButtonInteraction', 'SelectMenuInteraction', 'ModalInteraction', 'Event', chalk.red('Exit')
],
},
])
Expand All @@ -525,7 +525,8 @@ const runScript = async () => {
case 'Event':
await addEvent(inquirer)
break
case 'Exit':
case chalk.red('Exit'):
console.log(chalk.yellow('Exiting...'))
return process.exit(0)
default:
console.log(chalk.red('Invalid interaction type.'))
Expand Down

0 comments on commit e53888c

Please sign in to comment.