Two different needs
The auto role is given to everyone when they join, for example "Member". Reaction roles (or button roles) let everyone choose: their games, their notifications, their color. Discord offers onboarding for Community servers; for a role panel in a channel, you need a bot.
First, the position of the bot's role
A bot can only give roles placed below its own. In Server Settings, Roles, drag the AshBots role above the roles to give. This is the cause of almost every "the bot doesn't give the role".
Create a role menu
Type /rolemenu. Choose the mode: buttons, dropdown menu or reactions, then add the roles (25 at most per panel), each with its label and emoji. A preview is shown at every setting. In reactions mode, the bot adds the reactions on its own.
Limit the choices
A menu can allow only one role at a time (handy for colors), forbid removal, or set a maximum number of roles.
The auto role
/autorole gives roles on join, with separate lists for humans and bots and an optional delay. For a time-limited role, /temprole gives it for a duration and removes it on its own. The rest is on the Discord role bot page.