#Hide output from console.

15 messages · Page 1 of 1 (latest)

lean torrent
#

Hey, is it possible to hide CLI output whenever sending messages to a channel etc?

...
console.log("ready")
var msg = await ch.send("Bot starting up");
kindred garden
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

true pecan
#

simply dont use console.log(). this is not djs-related

lean torrent
#

My goal would be is to not get cmd output whenever using Discord.js stuff

true pecan
#

you mean the 'ready' ?

lean torrent
#

no, i mean the "Bot starting up" one

#

if i use channel.send it also outputs it to the console

true pecan
#

you probably have somewhere in your code to be sending outputs to your console

#

i cant tell you where because its your code

#

sending content to a channel doesn't log to your console unless you specifically tell you code to do so

lean torrent
#

Well i didn't specifically do anything to get this as a result

dreamy raptor
#

You must have

#

Stuff doesnt log to the console by itself

#

discord.js does not log anything to console on it's own

lean torrent
#

Well that is definitely strange then