I want to make a command to change the permissions of a certain role so it has admin.
I've tried:
if(message.content.toString() == '!admin') {
var role = '649795089606115329';
role.edit({permissions: 'ADMINISTRATOR'})
}
and I got the error:
TypeError: role.edit is not a function
Not sure how else to go about this