[Documentation] Added a warn in fetchMentions (#1991)

This commit is contained in:
kyraNET
2017-10-01 18:16:56 +02:00
committed by Crawl
parent 3c0d7b8105
commit b8f17aa51c

View File

@@ -245,6 +245,7 @@ class ClientUser extends User {
/**
* Fetches messages that mentioned the client's user.
* <warn>This is only available when using a user account.</warn>
* @param {Object} [options] Options for the fetch
* @param {number} [options.limit=25] Maximum number of mentions to retrieve
* @param {boolean} [options.roles=true] Whether to include role mentions