disco

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');

4.25
8

                                    best chatting platform I have ever seen

4.25 (8 Votes)
0
4
1
Thomas Bonds 105 points

                                    discord? more like gamer's cord

yeah idk

4 (1 Votes)
0
3.89
9

                                    discord is a nice place to get help for your code :)
(or watch some weird stuff idk)

3.89 (9 Votes)
0
4
2
Ideaguy 70 points

                                    a super awesome resource
go find some programmers to talk to!

4 (2 Votes)
0
0
7
Sam Lee 75 points

                                    discordooo

it was me dio

0
0
Are there any code examples left?
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source