diff --git a/src/util/Collection.js b/src/util/Collection.js index 887d999b1..7f0570d6c 100644 --- a/src/util/Collection.js +++ b/src/util/Collection.js @@ -349,9 +349,9 @@ class Collection extends Map { * @returns {Collection} * @example * collection - * .tap(coll => coll.size) + * .tap(coll => console.log(`${coll.size} users, including bots`)) * .filter(user => user.bot) - * .tap(coll => coll.size) + * .tap(coll => console.log(`${coll.size} users, excluding bots`)) */ tap(fn, thisArg) { if (typeof thisArg !== 'undefined') fn = fn.bind(thisArg);