mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 09:03:29 +01:00
Add warnings for Collection.find/exists
This commit is contained in:
@@ -340,7 +340,7 @@ class Client extends EventEmitter {
|
||||
* Sets a timeout that will be automatically cancelled if the client is destroyed.
|
||||
* @param {function} fn Function to execute
|
||||
* @param {number} delay Time to wait before executing (in milliseconds)
|
||||
* @param {args} args Arguments for the function (not an array, but an infinite argument)
|
||||
* @param {args} args Arguments for the function (infinite/rest argument, not an array)
|
||||
* @returns {Timeout}
|
||||
*/
|
||||
setTimeout(fn, delay, ...args) {
|
||||
@@ -365,7 +365,7 @@ class Client extends EventEmitter {
|
||||
* Sets an interval that will be automatically cancelled if the client is destroyed.
|
||||
* @param {function} fn Function to execute
|
||||
* @param {number} delay Time to wait before executing (in milliseconds)
|
||||
* @param {args} args Arguments for the function (not an array, but an infinite argument)
|
||||
* @param {args} args Arguments for the function (infinite/rest argument, not an array)
|
||||
* @returns {Timeout}
|
||||
*/
|
||||
setInterval(fn, delay, ...args) {
|
||||
|
||||
Reference in New Issue
Block a user