From e883afa0eec30b4cded3c65b6a7cfc8e379117db Mon Sep 17 00:00:00 2001 From: Michel Nguyen Date: Thu, 4 Jan 2018 01:17:40 +0100 Subject: [PATCH] docs: fix guildChannel#toString() example (#2203) * fix the docs * don't log something what you don't log --- src/structures/GuildChannel.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/structures/GuildChannel.js b/src/structures/GuildChannel.js index 7df4a229f..a889ee66c 100644 --- a/src/structures/GuildChannel.js +++ b/src/structures/GuildChannel.js @@ -404,10 +404,10 @@ class GuildChannel extends Channel { * When concatenated with a string, this automatically returns the channel's mention instead of the Channel object. * @returns {string} * @example - * // Outputs: Hello from #general + * // Logs: Hello from <#123456789012345678> * console.log(`Hello from ${channel}`); * @example - * // Outputs: Hello from #general + * // Logs: Hello from <#123456789012345678> * console.log('Hello from ' + channel); */ toString() {