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
1 changed files with 1 additions and 1 deletions

View File

@ -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);