docs(Structures): note about extending prior to instantiating client (#2884)

This commit is contained in:
SpaceEEC
2019-02-02 20:28:24 +01:00
committed by Crawl
parent f2ed93c08a
commit db3ae0159b

View File

@@ -20,6 +20,8 @@ class Structures {
/**
* Extends a structure.
* <warn> Make sure to extend all structures before instantiating your client.
* Extending after doing so may not work as expected. </warn>
* @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