JavaScripts simplest coinflip function?
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 …
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 …
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, …
I won’t be sharing any full code or snippets today, because I am exhausted from learning this topic. I spent the entire day studying and coding to get my bot up and running with a …
This post and code assumes that you have used the following command handler in your index.js file: static: https://discordjs.guide/command-handling/ and for dynamic: https://discordjs.guide/command-handling/dynamic-commands.html This is a basic feature and gives great and simple command handling …