Discord Self Role Command

How do i make a self role command so when i do (prefix)selfrole @role it gives me that role

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.