fix const
This commit is contained in:
parent
a17aac9d6a
commit
f93fa41de1
@ -16,7 +16,7 @@ module.exports = {
|
|||||||
.setRequired(false)),
|
.setRequired(false)),
|
||||||
async execute(interaction) {
|
async execute(interaction) {
|
||||||
await interaction.deferReply({ ephemeral: true });
|
await interaction.deferReply({ ephemeral: true });
|
||||||
const beginHeight = interaction.options.getString('beginheight');
|
let beginHeight = interaction.options.getString('beginheight');
|
||||||
const endHeight = interaction.options.getString('endheight');
|
const endHeight = interaction.options.getString('endheight');
|
||||||
if (!beginHeight) {
|
if (!beginHeight) {
|
||||||
const getGuildInfoResponse = await dbfn.getGuildInfo(interaction.guildId);
|
const getGuildInfoResponse = await dbfn.getGuildInfo(interaction.guildId);
|
||||||
|
Loading…
Reference in New Issue
Block a user