JavaScript and Operators
Here’s a quiz for you (the answer is at the bottom of the post). What is the expected output of these three lines of code, and why is it like that? This isn’t as straight …
Here’s a quiz for you (the answer is at the bottom of the post). What is the expected output of these three lines of code, and why is it like that? This isn’t as straight …
This is just a very short post, but this is the absolute simplest JavaScript code I have made, for a coinflip function How simple is that?We define a function that simply returns Heads or Tails …
So.. If you’re reading this, then you’re most likely looking for information on how to create a Twitter bot, using NodeJS and JavaScript.Well, look no further; This article will detail everything you need to get …
Remember that old Magic 8 ball that launched in the 1950’s? Well, I’m not that old, but I remember them from the movies in the 80’s and 90’s. I remember I always wanted one, but …
I came across a funny little piece of code that integrates a HUGE database of all the different Pokémons. You can make API calls and get back data from the site in JSON format. I …
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 …
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, …