Friend: Can you write me a discord bot?
Me: Sure, I guess.
Me: *thinking* I can probably do it in 2 hours or less*
Me: *2 hours later* why does this API work like that and why the fuck is my node module folder so big???

  • 7
    Use discord.js my friend. Its awesome
  • 6
    @Jifuna WTF is there a JavaScript module/runtime/engine for everything you might ever need?
  • 5
    @jonii *wrapper yes. I used it for a dadbot in my own language (Dutch). Turned out pretty okay.
  • 2
    There are actually like 3 or more js libs for Discord. @jonii
  • 1
    If you need something, npm has it. The question is, how many gigabytes is your node_modules gonna be afterwards.
  • 1
    @Jifuna yep! Thats what I’m using, however I’m finding some of the api counter intuitive...
  • 1
    @FelisPhasma I've written a shit ton of bots for Discord, want me to help you out?
  • 1
    @TheOct0 well, I’ve mostly got it down now, the one issue I’m having is getting a list of the roles held by a particular user (and not the user who sent the message)...
  • 1
    @FelisPhasma Good luck, you have my support
Add Comment