Construct A Contemporary Discord Bot From Scratch Learn The Fundamentals Dev Group

Instead of returning “pong”, it will get the quote with getQuote() and returns the quote. We use msg.channel.send() to send the message to the channel. Also, the code checks if the message comes from the bot itself and if it…