CodedShadows / Voraphiliac

Found unreachable code JS-0025
Performance
7 months ago7 months old
Unreachable code
22  async run(client, interaction, options) {
23    return interactionEmbed(4, "[INFO-DEV]", "", interaction, client, [false, 0]);
24    // ^ Temporary Fix ^ //
25    if(!interaction.replied) await interaction.deferReply(); // In case of overload26    const active = await process.Character.findOne({ where: { discordId: interaction.user.id, active: true } });27    if(!active) return interaction.editReply({ content: `${emojis.failure} | You don't have an active character!` });2829    if(options.getString("selective")) {30      return interaction.editReply({ content: `${emojis.failure} | You didn't select anything! Seems like your prey are safe... for now (Command is WIP)` });31    }3233    return interaction.editReply({ content: "*Nothing happened. This command is in development.*" });34  }
35};