Jump to content

[TUT] Adding a Discord bot to your server. [Newbie friendly]


Mr.Loki

Recommended Posts

Well mostly don't know about this they think it will work from discord without vps but by this tutoring they will know how to add discord for there server thanks for sharing this tutorial help full !

Meanwhile you had used connecting instead of adding xD

Edited by Khadeer143
  • Thanks 1
Link to comment
  • 2 weeks later...
4 hours ago, Mr.Loki said:

@Equis Yes it can work on a local server. Pretty much the same steps.

I mentioned VPS because i know some people have their server based on slots and not a VPS.

Thanks for the respond!

Link to comment
5 hours ago, Mr.Loki said:

@JamesB

You will need to modify the onDiscordPacket event at line 75 in the discord-events resource.

 

Could you enlighten it, because I don't understand why I should modify that event?

Link to comment
14 hours ago, JamesB said:

Could you enlighten it, because I don't understand why I should modify that event?

That event captures every thing that happens in the discord server it is connected to.

By monitoring the packed and payload parameters you can see what gets sent to the event.

You can monitor it by using the iprint function.

Link to comment
  • qaisjp featured and pinned this topic
  • qaisjp unpinned this topic
  • 5 months later...
  • 4 months later...
  • 4 weeks later...

It gives me this error when i start the bot, or type something in the cmd 

(node:6364) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security
 and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or B
uffer.from() methods instead.

spacer.png

Link to comment
  • 1 year later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...