switch statement not triggering in catch function - discord.js - Imagine an app