refactor/declare command option types

This commit is contained in:
SowinskiBraeden committed 2023-09-10 00:41:45 -07:00
1 parent 28737c5756
commit ab2b59ff11
18 files changed
+170 -128

No files matched your search

+3 -2
View File
@@ -1,4 +1,5 @@
const { EmbedBuilder } = require('discord.js');
const CommandOptions = require('../util/CommandOptionTypes').CommandOptionTypes;
const { User, addUser } = require('../structures/user')
module.exports = {
@@ -16,7 +17,7 @@ module.exports = {
name: "x-coord",
description: "X Coordinate of the origin",
value: "x-coord",
type: 10,
type: CommandOptions.Float,
min_value: 0.01,
required: true,
},
@@ -24,7 +25,7 @@ module.exports = {
name: "y-coord",
description: "Y Coordinate of the origin",
value: "y-coord",
type: 10,
type: CommandOptions.Float,
min_value: 0.01,
required: true,
},