logo bannerlogo banner
Page Navigator
  • 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 properties
  • damage is a number
  • radius 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`);
});