Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

I have a problem with assigning a role after clicking the appropriate response.
When the user responds to the message, no role is assigned and no message or error pops up in the console.
At this point, the role is not added, but a message pops up for the saved “Error adding role”. UPDATE:
client.on(“messageReactionAdd”, ({ message: { channel } }, user) => {
if (/weryfikacja/.test(channel.name)) {
channel.guild.members
.fetch(user)
.then(member => {
member.roles
.add(‘930796894026883153’)
.then(() => {
console.log(
The ${roleName} has been removed from member ${user.tag} successfully!
);
})
.catch(e => console.error(“Error adding role”));
})
.catch(error => {
console.error(error);
});
}
});
Niketan Sharma
819167b5336c456e9ad38395fec1c5
SarkariResultht
e3002a14a547406799fe27a6abf211
9e483d26583f44f6bafe369a29b405
keneucker
keneucker
Shamoil Khan
Frederik
f25932a0b984430fb48c4256f1aaad
0a2e7912d2f74bccbaac42bf8f769b