izy521 / discord.io

A small, single-file library for creating DiscordApp clients from Node.js or the browser
https://discord.gg/0MvHMfHcTKVVmIGP
MIT License
535 stars 154 forks source link

Connection? #63

Closed NekoKamiDesu closed 8 years ago

NekoKamiDesu commented 8 years ago

I'm new to discord, so i was wondering how to hook up a bot to a server (maybe some sample code that works i can try and study?? :+1: )

Thanks!

P.s. im still learning js :P

izy521 commented 8 years ago

Do you have a bot created?

FluffyMatt commented 8 years ago

@NekoKamiDesu Make sure you have created a bot account first.

Creating a new bot account

  1. Head over to the applicatons page
  2. Click new application. Give it a name, picture and description.
  3. Click Create Bot User and click Yes, Do It! when the dialog pops up.
  4. Copy down the token This is what is used to get a bot to login.
NekoKamiDesu commented 8 years ago

My bad, didn't inv bot to server. Everything is fine now. :P