Discord rich embed buttons

I made a few discord.py bots, but I came across one which was surprising. It’s called IdleRPG and uses rich embed messages with buttons. Here’s a pic (note the buttons at the bottom of the menu):

I’ve tried contacting the developer and been searching the net but can’t seem to find how they did it. Does anyone know of any resources on how to create them? Please provide links.