From b8f17aa51cd7d7ecb0a32a1e9aa526604db1a2a6 Mon Sep 17 00:00:00 2001 From: kyraNET Date: Sun, 1 Oct 2017 18:16:56 +0200 Subject: [PATCH] [Documentation] Added a warn in fetchMentions (#1991) --- src/structures/ClientUser.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/structures/ClientUser.js b/src/structures/ClientUser.js index 4e1b465ba..ddd751e43 100644 --- a/src/structures/ClientUser.js +++ b/src/structures/ClientUser.js @@ -245,6 +245,7 @@ class ClientUser extends User { /** * Fetches messages that mentioned the client's user. + * This is only available when using a user account. * @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