What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-01-30 22:40:18
how to give a role to a new member in discord.js
let role = message.guild.roles.find(r => r.name === "Role Name"); // Let's pretend you mentioned the user you want to add a role to (!addrole @user Role Name): let member = message.mentions.members.first(); // or the person who made started... Add solution -
Java 2022-01-29 06:41:51
nitrite get repo structure
// extracts all objects from the repository org.dizitart.no2.objects.Cursor<Employee> cursor = repository.find(); // extracts paginated employee records from the repository Cursor<Employee> cursor = repository.find(limit(0, 1)); // extracts ... Add solution
Best helpers
Ranking is empty