RE: Writing a Discord bot 03-12-2017, 06:58 AM
#11
(02-14-2017, 05:48 PM)ThePutzer Wrote: Hey TheEvilSocks,
nice Tutorial you made, but in the section on line "var bot = new Discordbot({" my cmd tells me "Discordbot" is not a constructor. I tried some ideas of fixing it but ended up the same. Can you help me out?
(03-05-2016, 03:00 AM)TheEvilSocks Wrote: //Here we create our bot variable, this is what we're going to use to communicate to discord.
var bot = new Discordbot({
email : auth.email, //<-- This is the email from your auth file.
password : auth.password,//<-- This is the password from your auth file.
autorun : true
});
Please note that this tutorial was written back in 2016 and is completely outdated with the coming of actual bot accounts.