item is an item (if the COSMETIC_DATA intent is enabled), and if not, it will be the item ID #pos is an object with the x, y, and z propertiesdamage is a numberradius is a number (float)bot.on('grenadeExplode', (item, pos, damage, radius) => {
console.log(`a grenade exploded at ${pos}!`);
console.log(`it did ${damage} damage with a ${radius} radius`);
});
item is an item (if the COSMETIC_DATA intent is enabled), and if not, it will be the item ID #pos is an object with the x, y, and z propertiesdamage is a numberradius is a number (float)bot.on('grenadeExplode', (item, pos, damage, radius) => {
console.log(`a grenade exploded at ${pos}!`);
console.log(`it did ${damage} damage with a ${radius} radius`);
});