Pour ceux qui aiment bricoler à la maison : j’ai sorti un tuto pour héberger un bot Discord (discord.js) dans une VM Debian 12… directement sur une Freebox Server.

Au menu : VM, Node.js, config du bot et lancement en continu. Le tout expliqué étape par étape, sans OVH ni VPS, juste la box du salon 😄

🎥 https://youtu.be/lMAfvUMZMK0

#Discord #discordjs #Debian #Freebox #SelfHosting #AutoHébergement #Dev

- YouTube

Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube.

I was today years old when I discovered Nodemon. It gives you really nice hot reloading for Node. Quite useful for APIs or Discord bots. Probably more too, but that's what I use it for. I just added something like:
"mon": "nodemon index.js"
to my Discord bot's "scripts" section of package.json, so I can run `npm run mon` and now it reloads whenever I save a file.
https://www.npmjs.com/package/nodemon
#JavaScript #Discord #DiscordJS #Nodemon #node
nodemon

Simple monitor script for use during development of a Node.js app.. Latest version: 3.1.7, last published: 7 days ago. Start using nodemon in your project by running `npm i nodemon`. There are 6225 other projects in the npm registry using nodemon.

npm
coming back to a 4000 line single file #DiscordJS bot i wrote two years ago to get it running again...
not only do i have to fight my past self but i also have to fight every single api change Discord has made

I was digging into a feature (broadcastEval) of the Discord.js library that was going to solve all my problems and found a note from team leads that they are planning to delete it in a future release because it is a potential attack vector.

#nodejs #discordjs#botproblems

In addition to #GameDevelopment , I moderate a handful of Discord servers for Devolver Digital! Part of that responsibility is developing and maintaining some custom Discord bots!

I have spent the last couple of months co-developing this very cool bot that mimics the Knucklebones mini-game from Cult of the Lamb! I'll be spending this week adding some new functionality to allow server members to compete in Knucklebones tournaments during the holiday season!

#DiscordJS #Discord

I think I messed up my discord bot since I upgraded from discordjs 12 to discordjs 13..
The build-in audio player is not reusable !!
And I cant manage to make it work with my current queue implementation ! #nodejs #dontupgradeuntilitsstable #discordjs