Send message to channel

Hello, I’m creating a Discord bot. How I can send message to log channel which setted with quick.db?

First, db.fetch() the id of the channel for logs, then use that is to .send() the log message

Will this code works?

Channel's set code:
let channel = message.mentions.channels.first()
if (channel) {'Mission completed.')
  db.set(`channel_${}`, channel)
Send message to channel code:

let channel = db.fetch(`channel_${}`)

.get () only takes ID not an object. Therefore put .get (

Thanks you very much, I’ll try this code.