Tag: <span>discord</span>

Tag: discord

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 …

Discord.js with Sequelize and MySQL

Note! This assumes that you have a working bot, that uses the command handling from: https://discordjs.guide/command-handling/#individual-command-files, that you use Visual Studio Code (VSC from here) as the editor of choice. (This is what I use, …