Cleaned up if statements in slash command handling