Category: <span>CodeLog</span>

Category: CodeLog

Discord.js – Deleting messages from a channel!

So you want a command that deletes XX messages from the current channel? Let’s try and get that command build!Note! This article assumes that you have a running bot and a simple command handler. I …

Discord.js and MySQL – searching and updating records

This article assumes that you have already read the article: https://codelog.network/2020/08/14/discord-js-with-sequelize-and-mysql/ and that you have followed those steps to connect to you MySQL database. The console.log() should have output Logged in to DB. From there …