From db3ae0159bf2d8a44e7ecda4b9835a08b9210e8b Mon Sep 17 00:00:00 2001 From: SpaceEEC Date: Sat, 2 Feb 2019 20:28:24 +0100 Subject: [PATCH] docs(Structures): note about extending prior to instantiating client (#2884) --- src/util/Structures.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/util/Structures.js b/src/util/Structures.js index 5bdf5c86a..a742e2920 100644 --- a/src/util/Structures.js +++ b/src/util/Structures.js @@ -20,6 +20,8 @@ class Structures { /** * Extends a structure. + * Make sure to extend all structures before instantiating your client. + * Extending after doing so may not work as expected. * @param {string} structure Name of the structure class to extend * @param {Function} extender Function that takes the base class to extend as its only parameter and returns the * extended class/prototype