Skip to content
  • About Us
  • Contact Us
  • Privacy Policy
  • Terms and Conditions

Programming Tutorial

Start Learning to Code

  • About Us
  • Contact Us
  • Privacy Policy
  • Terms and Conditions

Breaking News

Nextjs: running code after complete fetch

why does 400 status code result always entercatch block execution with axios?

Saving the state of the button onClick

TypeScript: Specify that value must be in Array using spread operator

Show separate number with comma in django tempalte

Why does my website keep showing old index.html, style.css, app.js…?

Using Python Flask to change the colour of an icon when it detects a words like scam, pending and verified

x clear icon appears only when the input has value – react

Login button redirects to two pages. For first time loginers, it redirects to agreement page, and for rest, it redirects straight to home?

WebComponent setter not triggered if defer is used

Tag: discord.js

Arrays

remove args from ana array in discord.js

admin June 21, 2021

i wanna remove an argument that i prevously added to an array with a command, the code i made: const args = message.content.slice(prefix.length).split(/ +/); const command = args.shift().toLowerCase();…

arraysdiscord.jsjavascriptnode.js
Arrays

Discord.JS: Array resets itself after some time

admin February 1, 2021

Some days ago, I programmed a Discord bot with a count game. Someone has to send 1, then someone else had to say 2 and so on. When someone said a number twice, or said the wrong number, the game …

arraysdiscord.jsjavascript
Arrays

How do I loop through a JSON array?

admin January 22, 2021

I have a Discord.js bot, I wanted to make a lockdown command, but my channel ids are stored in a JSON file, and I dont know how to iterate through it. This is the JSON configuration: { “…

arraysdiscord.jsjson
Privacy Policy