Shotguns are ranged weapons.
The buckshot you're using in your <shotgun> was on sale for only $0.79, but it still does X damage to your foe. BOINK! BONK! SPLAT!
You hit your opponent with X tiny lead pellets that do 1 point of damage apiece. BAM! BOINK! BIFF!
"Pull!" you yell for no particular reason, and then shoot your opponent in the face for X damage. Somewhere in the distance, a dog laughs. WHACK! SOCKO! POW!
You roll out a barrel of fun (where 'fun' = buckshot) to the tune of X damage. WHAMMO! WHAMMO! WHACK!