fix const

This commit is contained in:
Skylar Grant 2023-02-09 23:00:59 -05:00 committed by GitHub
parent a17aac9d6a
commit f93fa41de1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ module.exports = {
.setRequired(false)),
async execute(interaction) {
await interaction.deferReply({ ephemeral: true });
const beginHeight = interaction.options.getString('beginheight');
let beginHeight = interaction.options.getString('beginheight');
const endHeight = interaction.options.getString('endheight');
if (!beginHeight) {
const getGuildInfoResponse = await dbfn.getGuildInfo(interaction.guildId);