I have a logging command which works perfectly, the only issue is I can not finish the `off` section of the command. I need it to delete both records `(guildid, channel)` if the guildid matches.
![logging](https://i.gyazo.com/e2367e8f5a976f1bc4784c8a78f20c57.png)
This is what I have tried.

```
if (args[0] === 'off') {
    message.channel.send('Logging turned off!');
    const del = db.prepare('DELETE FROM logging WHERE guildid = ?;');
    del.run({
        guildid: `${message.guild.id}`
    });
    return;

```

Looking at the photo, when the args `off` is ran, I need it to delete the guildid contents (495602...) and channel contents (<#5290...) if the guildid contents matches with the guild the command was ran in.