Process command with argument

Publié le: 12 mai 2020
sur la chaîne: kimsphere
97
4

🤖 Build your own discord bot in Node.js on Glitch coding site for free.

✨ TL;DW ✨
0:05 Install npm package
0:35 Create a function to handle command with argument
1:50 Create timezone command
2:38 Loop and push every single zone and datetime into a new array
3:30 A little error handling
4:10 A little code refactoring
6:30 More responses from the bot

✨ LINKS ✨

Moment.js documentation :
https://momentjs.com/timezone/docs/#/...
https://momentjs.com/docs/#/displayin...

JavaScript switch statement :
https://www.w3schools.com/js/js_switc...

Source code on GitHub:
https://github.com/kimeowsph/discord-...

✨ CREDITS ✨
♬ MUSIC ▾
  / biscuit  
  / lukrembo  

Your 👍 or subscribe as support is very much appreciated!

#DiscordBot #NodeJS #Glitch


Sur cette page du site, vous pouvez voir la vidéo en ligne Process command with argument durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur kimsphere 12 mai 2020, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 97 fois et il a aimé 4 téléspectateurs. Bon visionnage!