discord js role commend

Solutions on MaxInterview for discord js role commend by the best coders in the world

showing results for - "discord js role commend"
Gael
24 Jan 2020
1client.on("message", message => {
2    if (message.content === ("خط"))
3    if (message.member.roles.find(r => r.name === "role name here")) {
4        message.channel.send('رابط الخط'); 
5  };
6});
Reda
01 Feb 2018
1client.on("message", message => {
2    if (message.content === ("خط"))
3    if (message.member.roles.has('role id here')) {
4        message.channel.send('رابط الخط'); 
5  };
6});
similar questions
queries leading to this page
discord js role commend