Rifle Cane (5e Equipment)
From D&D Wiki
Martial Melee Weapons
A rifle cane is a rifle with a stock shaped like the handle of a cane, with a discreet trigger built into the stock. What would be the shaft of the cane is made of metal, is hollow, and is rifled so as to increase the range of the weapon. Due to the cane being made of metal, it also makes for a good bludgeoning weapon.
Special. Whenever you take the attack action with this weapon, you may choose to make a melee attack with the cane or a ranged attack with the rifle, to which normal rules apply.