discord
const Discord = require('discord.js');
const client = new Discord.Client();
client.on('ready', () => {
console.log(`Logged in as ${client.user.tag}.`);
});
client.on('message', message => {
if (message.content.toLowerCase() === 'ping') {
message.channel.send('Pong');
}
});
client.login('TOKEN');
0
0
discord is a nice place to get help for your code :)
(or watch some weird stuff idk)
Thank you!
0
0
3.67
9
discordooo
it was me dio
Thank you!
9
0
3.7
10
Its not worth it, kid.
Thank you!
10
0
3.33
3
//Look, genuinely, I get it. You're tired of looking at text generated by
yourself or a computer. But you have a deadline and *Really* need to at least
START hacking if you want to keep your livelihood.
Thank you!
3
0
0
4
a good place
Thank you!
4
0
3.71
7
Nice Chatting! :D
Remember to Pratice your coding After
Thank you!
7
0
4.25
4
discord.gg/amogus lol
Thank you!
4
0
4
7
a super awesome resource
go find some programmers to talk to!
Thank you!
7
0
4.25
4
best chatting platform I have ever seen
Thank you!
4
0
Are there any code examples left?
New code examples in category Javascript