Skip to content

Commit

Permalink
2.3.2 hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
joebobbio committed Nov 14, 2022
1 parent d13c784 commit c79bc1f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion commands/add.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
data: new SlashCommandBuilder()
.setName('add')
.setDescription('Add a domain to the database')
.addStringOption(option => option.setName('domain').setDescription('The domain to add')),
.addStringOption(option => option.setName('domain').setDescription('The domain to add').setRequired(true)),
ownerOnly: true,

async execute(interaction, client) {
Expand Down
2 changes: 1 addition & 1 deletion commands/remove.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
data: new SlashCommandBuilder()
.setName('remove')
.setDescription('remove')
.addStringOption(option => option.setName('domain').setDescription('The domain to delete')),
.addStringOption(option => option.setName('domain').setDescription('The domain to delete').setRequired(true)),
ownerOnly: true,

async execute(interaction) {
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "neb-dispenser",
"version": "2.3.1",
"version": "2.3.2",
"description": "Distribute domains to a Discord server",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit c79bc1f

Please sign in to comment.