During the swing , the center of mass will go down due to which disc will lose potential energy which will be converted into rotational kinetic energy
mgh = 1/2 I ω² where m is mass of the disc , h is height by which c.m goes down which will be equal to radius of disc , I is moment of inertia of disc about the nail at rim , ω is angular velocity .