When you're world building the important thing is not 'cool' but cohesion. You can't just randomly introduce firearms out of nothing - you'd need the whole technological backdrop that leads up to guns in the first place.
In a medieval/fantasy world they are glaringly and obviously out of place, and thus a bad idea.