Linking emojis to a role

Hello, if I remember correctly there is a way to make an emoji only usable with a certain role through the API. Does djs have any easy way to do it?
Was this page helpful?